diff options
| author | Adam Vandenberg | 2014-02-25 21:11:55 -0800 | 
|---|---|---|
| committer | Adam Vandenberg | 2014-02-27 08:21:21 -0800 | 
| commit | 9b046567d50ae1b68b1f83c3350ec6c75b71a976 (patch) | |
| tree | 1b41e4e6e8b38407249ee18ac889be9f38c07516 /Library/Formula/pari.rb | |
| parent | a2fa3767295301dc18968552d241024bb95b1188 (diff) | |
| download | homebrew-9b046567d50ae1b68b1f83c3350ec6c75b71a976.tar.bz2 | |
pari: use Formula[]
Diffstat (limited to 'Library/Formula/pari.rb')
| -rw-r--r-- | Library/Formula/pari.rb | 5 | 
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/pari.rb b/Library/Formula/pari.rb index c116771c4..9e53e9716 100644 --- a/Library/Formula/pari.rb +++ b/Library/Formula/pari.rb @@ -9,11 +9,10 @@ class Pari < Formula    depends_on :x11    def install -    readline = Formula.factory 'readline' +    readline = Formula["readline"].opt_prefix      system "./Configure", "--prefix=#{prefix}",                            "--without-gmp", -                          "--with-readline-include=#{readline.include}", -                          "--with-readline-lib=#{readline.lib}" +                          "--with-readline=#{readline}"      # make needs to be done in two steps      system "make all"      system "make install"  | 
