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>
This commit is contained in:
parent
14cd1508bd
commit
e242232117
1 changed files with 4 additions and 9 deletions
|
@ -1,8 +1,8 @@
|
||||||
require 'formula'
|
require 'formula'
|
||||||
|
|
||||||
class Arping < Formula
|
class Arping < Formula
|
||||||
url 'https://github.com/ThomasHabets/arping/tarball/arping-2.09'
|
|
||||||
homepage 'https://github.com/ThomasHabets/arping'
|
homepage 'https://github.com/ThomasHabets/arping'
|
||||||
|
url 'https://github.com/ThomasHabets/arping/tarball/arping-2.09'
|
||||||
md5 '8a10b23655ffbe93667691fb881afbf4'
|
md5 '8a10b23655ffbe93667691fb881afbf4'
|
||||||
|
|
||||||
depends_on 'libnet'
|
depends_on 'libnet'
|
||||||
|
@ -13,14 +13,9 @@ class Arping < Formula
|
||||||
end
|
end
|
||||||
|
|
||||||
def install
|
def install
|
||||||
system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}"
|
system "./configure", "--disable-debug",
|
||||||
|
"--disable-dependency-tracking",
|
||||||
# See patches comment
|
"--prefix=#{prefix}"
|
||||||
inreplace 'Makefile' do |s|
|
|
||||||
s.change_make_var! "LIBS", " -lnet"
|
|
||||||
end
|
|
||||||
|
|
||||||
system "make"
|
|
||||||
system "make install"
|
system "make install"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue