freebsd-ports/net/libdnet/files/patch-configure
Eugene Grosbein 3ab8108794 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
2018-04-18 10:52:18 +00:00

30 lines
826 B
Text

--- 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" | \