diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/parsley.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Formula/parsley.rb b/Library/Formula/parsley.rb index 433e503b0..6f85f4e3b 100644 --- a/Library/Formula/parsley.rb +++ b/Library/Formula/parsley.rb @@ -12,8 +12,11 @@ class Parsley < Formula argp = Formula.factory("argp-standalone").prefix # remove the refs to /opt/local and use this opportunity to link to argp - inreplace 'configure', '-L/opt/local/lib', "-L#{argp}" - inreplace 'configure', '-I/opt/local/include', "-I#{argp}" + inrepace "configure" do |s| + s.gsub! '-L/opt/local/lib', "-L#{argp}" + s.gsub! '-I/opt/local/include', "-I#{argp}" + end + system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make install" end |
