aboutsummaryrefslogtreecommitdiff
path: root/net/libdnet
diff options
context:
space:
mode:
authorEugene Grosbein <eugen@FreeBSD.org>2018-04-18 10:52:18 +0000
committerEugene Grosbein <eugen@FreeBSD.org>2018-04-18 10:52:18 +0000
commit3ab8108794b4057a8045ab3dbeaa996251960ed9 (patch)
tree96803681c106d210df63d70e356ba8a7cf117c27 /net/libdnet
parent020f3bd19619764b782e74a993912106f1988e9d (diff)
downloadports-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-configure30
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" | \