diff options
author | Eugene Grosbein <eugen@FreeBSD.org> | 2018-04-18 10:52:18 +0000 |
---|---|---|
committer | Eugene Grosbein <eugen@FreeBSD.org> | 2018-04-18 10:52:18 +0000 |
commit | 3ab8108794b4057a8045ab3dbeaa996251960ed9 (patch) | |
tree | 96803681c106d210df63d70e356ba8a7cf117c27 /net/libdnet | |
parent | 020f3bd19619764b782e74a993912106f1988e9d (diff) | |
download | ports-3ab8108794b4057a8045ab3dbeaa996251960ed9.tar.gz ports-3ab8108794b4057a8045ab3dbeaa996251960ed9.zip |
net/libdnet: unbreak compilation for non-default FreeBSD builds
libdnet fails to compile for non-default FreeBSD build with
pf/ipfilter excluded but ipfw included because its ipfw support
staled from ipfw1 times and does not apply to modern ipfw implementation.
PORTREVISION not changed because the change is effectively 'no-op'
for default build.
PR: 227490
Notes
Notes:
svn path=/head/; revision=467703
Diffstat (limited to 'net/libdnet')
-rw-r--r-- | net/libdnet/files/patch-configure | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net/libdnet/files/patch-configure b/net/libdnet/files/patch-configure new file mode 100644 index 000000000000..caa232605ab1 --- /dev/null +++ b/net/libdnet/files/patch-configure @@ -0,0 +1,30 @@ +--- configure.orig 2007-01-20 19:30:22.000000000 +0700 ++++ configure 2018-04-16 18:23:18.054769000 +0700 +@@ -22247,27 +22247,6 @@ + *) LIBOBJS="$LIBOBJS fw-pf.$ac_objext" ;; + esac + +-elif test "$ac_cv_header_netinet_ip_fw_h" = yes ; then +- case "$host_os" in +- *freebsd5*) +- case $LIBOBJS in +- "fw-none.$ac_objext" | \ +- *" fw-none.$ac_objext" | \ +- "fw-none.$ac_objext "* | \ +- *" fw-none.$ac_objext "* ) ;; +- *) LIBOBJS="$LIBOBJS fw-none.$ac_objext" ;; +-esac +- ;; +- *) +- case $LIBOBJS in +- "fw-ipfw.$ac_objext" | \ +- *" fw-ipfw.$ac_objext" | \ +- "fw-ipfw.$ac_objext "* | \ +- *" fw-ipfw.$ac_objext "* ) ;; +- *) LIBOBJS="$LIBOBJS fw-ipfw.$ac_objext" ;; +-esac +- ;; +- esac + elif test "$ac_cv_header_netinet_ip_fil_h" = yes ; then + case $LIBOBJS in + "fw-ipf.$ac_objext" | \ |