From e2422321178d241cad114154b51590913bf47387 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Sun, 12 Feb 2012 21:55:14 -0600 Subject: [PATCH] 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 --- Formula/arping.rb | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/Formula/arping.rb b/Formula/arping.rb index 4b1aff9492..2d40b07d76 100644 --- a/Formula/arping.rb +++ b/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