diff options
| author | Jack Nagel | 2013-03-26 00:52:14 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-26 00:55:18 -0500 |
| commit | 726b1080c6521d92982f61c7809fd66dce88f486 (patch) | |
| tree | c32a708f391e7011ff3229674cdcd1f34553b2f9 /Library/Formula | |
| parent | 24c8d4bd2483df747e62cf1576b1714e2aae35a2 (diff) | |
| download | homebrew-726b1080c6521d92982f61c7809fd66dce88f486.tar.bz2 | |
regex-opt: remove inreplace
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/regex-opt.rb | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Formula/regex-opt.rb b/Library/Formula/regex-opt.rb index 72365ea00..e2883a62f 100644 --- a/Library/Formula/regex-opt.rb +++ b/Library/Formula/regex-opt.rb @@ -6,12 +6,7 @@ class RegexOpt < Formula sha1 '18481500e8fed8ecf94f9738104594ef5a658456' def install - inreplace 'Makefile' do |f| - f.gsub! 'gcc', ENV.cc - f.gsub! 'g++', ENV.cxx - end - - system "make" + system "make", "CC=#{ENV.cc}", "CXX=#{ENV.cxx}" bin.install 'regex-opt' end |
