aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorJack Nagel2013-03-26 00:52:14 -0500
committerJack Nagel2013-03-26 00:55:18 -0500
commit726b1080c6521d92982f61c7809fd66dce88f486 (patch)
treec32a708f391e7011ff3229674cdcd1f34553b2f9 /Library/Formula
parent24c8d4bd2483df747e62cf1576b1714e2aae35a2 (diff)
downloadhomebrew-726b1080c6521d92982f61c7809fd66dce88f486.tar.bz2
regex-opt: remove inreplace
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/regex-opt.rb7
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