yafc: use Formula[]
This commit is contained in:
parent
172087e94f
commit
ce01121006
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@ class Yafc < Formula
|
|||
depends_on 'readline'
|
||||
|
||||
def install
|
||||
readline = Formula.factory('readline').opt_prefix
|
||||
readline = Formula["readline"].opt_prefix
|
||||
system "./configure", "--prefix=#{prefix}",
|
||||
"--with-readline=#{readline}"
|
||||
system "make", "install"
|
||||
|
|
Loading…
Reference in a new issue