diff options
| -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 |
