From d9965384f3cfec329ec9f037bce37b9ffc76d5c2 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Mon, 24 Feb 2014 21:24:49 -0800 Subject: ekg2: use Formula[] --- Library/Formula/ekg2.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Library/Formula') 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"] -- cgit v1.2.3