aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorMisty De Meo2013-12-01 21:13:24 -0800
committerMisty De Meo2013-12-01 21:13:24 -0800
commit97248c3f8fbc726f06ae17dc7d871e933eea1c1b (patch)
tree363b7c291f194d020b83f543b00485e3c0944187 /Library/Formula
parent3766714a90eec83e0878c77485fd7d3ebef9b005 (diff)
downloadhomebrew-97248c3f8fbc726f06ae17dc7d871e933eea1c1b.tar.bz2
cgdb: use readline opt_prefix, not prefix
Fixes #24858.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/cgdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/cgdb.rb b/Library/Formula/cgdb.rb
index bee97a13d..94f47799d 100644
--- a/Library/Formula/cgdb.rb
+++ b/Library/Formula/cgdb.rb
@@ -15,7 +15,7 @@ class Cgdb < Formula
def install
system "./configure", "--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
- "--with-readline=#{Formula.factory('readline').prefix}"
+ "--with-readline=#{Formula.factory('readline').opt_prefix}"
system "make install"
end
end