diff options
| author | Adam Vandenberg | 2012-02-10 19:35:00 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2012-02-10 19:35:00 -0800 |
| commit | 6f8552cf9c364db0cbd63d3fc0a9d144e6aa54c6 (patch) | |
| tree | bb838e6fb631e2b5de241b8ba50631c9933179ef | |
| parent | 6cc8e9551820981558a9bbbcf25deb57903baf5b (diff) | |
| download | homebrew-6f8552cf9c364db0cbd63d3fc0a9d144e6aa54c6.tar.bz2 | |
pwnat: avoid inreplace
| -rw-r--r-- | Library/Formula/pwnat.rb | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Library/Formula/pwnat.rb b/Library/Formula/pwnat.rb index c07d2e5f2..fa2593073 100644 --- a/Library/Formula/pwnat.rb +++ b/Library/Formula/pwnat.rb @@ -6,13 +6,7 @@ class Pwnat < Formula md5 'd1f2b556a32669484f0358d009a20feb' def install - inreplace "Makefile" do |s| - s.change_make_var! "CC", ENV.cc - s.change_make_var! "CFLAGS", ENV.cflags - s.change_make_var! "LDFLAGS", "-lz" - end - - system "make" + system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}", "LDFLAGS=-lz" bin.install "pwnat" end end |
