diff options
| author | Jack Nagel | 2012-02-12 21:55:14 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-12 21:56:27 -0600 |
| commit | ef22479b99013cd54530c0128f2e3758bc16d0af (patch) | |
| tree | 0a426e25a29d3f13d13e043c8b32b83190f43aa1 | |
| parent | b84da3cb7ef66055b082197ab6f5a23060abc0ec (diff) | |
| download | homebrew-ef22479b99013cd54530c0128f2e3758bc16d0af.tar.bz2 | |
arping: remove no-op inreplace
Settings LIBS to -lnet in the top level Makefile does not affect
src/Makefile, which is what really counts, and in fact when the
inreplace is done correctly it causes the build to fail.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
| -rw-r--r-- | Library/Formula/arping.rb | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/Library/Formula/arping.rb b/Library/Formula/arping.rb index 4b1aff949..2d40b07d7 100644 --- a/Library/Formula/arping.rb +++ b/Library/Formula/arping.rb @@ -1,8 +1,8 @@ require 'formula' class Arping < Formula - url 'https://github.com/ThomasHabets/arping/tarball/arping-2.09' homepage 'https://github.com/ThomasHabets/arping' + url 'https://github.com/ThomasHabets/arping/tarball/arping-2.09' md5 '8a10b23655ffbe93667691fb881afbf4' depends_on 'libnet' @@ -13,14 +13,9 @@ class Arping < Formula end def install - system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" - - # See patches comment - inreplace 'Makefile' do |s| - s.change_make_var! "LIBS", " -lnet" - end - - system "make" + system "./configure", "--disable-debug", + "--disable-dependency-tracking", + "--prefix=#{prefix}" system "make install" end end |
