diff options
| author | Adam Vandenberg | 2011-03-25 22:37:14 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2011-03-25 23:31:29 -0700 |
| commit | 8b2d21aa1048ff9ac72ec18d0841d3d01d5b92e4 (patch) | |
| tree | db33fdbbae29b644cb0d39e5bda5025af5820963 /Library | |
| parent | a8f2e19111359a8b951a8196e8f27533657256a1 (diff) | |
| download | homebrew-8b2d21aa1048ff9ac72ec18d0841d3d01d5b92e4.tar.bz2 | |
parsley use block inreplace
Diffstat (limited to 'Library')
| -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 |
