aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorAdam Vandenberg2014-02-24 21:24:49 -0800
committerAdam Vandenberg2014-02-27 08:21:16 -0800
commitd9965384f3cfec329ec9f037bce37b9ffc76d5c2 (patch)
tree779a130ce7261e53c1f9102e4707e1fdcb008eb5 /Library/Formula
parent563e273be65d8d2f01611c13a4c25052b1c3c171 (diff)
downloadhomebrew-d9965384f3cfec329ec9f037bce37b9ffc76d5c2.tar.bz2
ekg2: use Formula[]
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ekg2.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/ekg2.rb b/Library/Formula/ekg2.rb
index 12e8dd20e..4f5dd4659 100644
--- a/Library/Formula/ekg2.rb
+++ b/Library/Formula/ekg2.rb
@@ -10,13 +10,13 @@ class Ekg2 < Formula
depends_on 'libgadu' => :optional
def install
- readline = Formula.factory 'readline'
+ readline = Formula['readline'].opt_prefix
args = ["--disable-debug", "--disable-dependency-tracking",
"--prefix=#{prefix}",
"--without-python",
"--without-perl",
- "--with-readline=#{readline.prefix}",
+ "--with-readline=#{readline}",
"--without-gtk",
"--enable-unicode"]