aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-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"]