libnet: remove old automake hack
This commit is contained in:
parent
e056d19654
commit
4dae8c1df4
1 changed files with 1 additions and 8 deletions
|
@ -24,14 +24,7 @@ class Libnet < Formula
|
|||
end
|
||||
|
||||
def install
|
||||
# Compatibility with Automake 1.13 and newer.
|
||||
# Reported upstream:
|
||||
# https://github.com/sam-github/libnet/issues/28
|
||||
mv 'configure.in', 'configure.ac'
|
||||
inreplace 'configure.ac', 'AM_CONFIG_HEADER', 'AC_CONFIG_HEADERS'
|
||||
(buildpath/'m4').mkpath
|
||||
|
||||
system "autoreconf --force --install"
|
||||
system "autoreconf", "-fvi"
|
||||
system "./configure", "--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}"
|
||||
inreplace "src/libnet_link_bpf.c", "#include <net/bpf.h>", "" # Per MacPorts
|
||||
|
|
Loading…
Reference in a new issue