svn commit: r467703 - head/net/libdnet/files

Eugene Grosbein eugen at FreeBSD.org
Wed Apr 18 10:52:19 UTC 2018


Author: eugen
Date: Wed Apr 18 10:52:18 2018
New Revision: 467703
URL: https://svnweb.freebsd.org/changeset/ports/467703

Log:
  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

Added:
  head/net/libdnet/files/
  head/net/libdnet/files/patch-configure   (contents, props changed)

Added: head/net/libdnet/files/patch-configure
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/libdnet/files/patch-configure	Wed Apr 18 10:52:18 2018	(r467703)
@@ -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"   | \


More information about the svn-ports-head mailing list