Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Apr 2018 10:52:18 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r467703 - head/net/libdnet/files
Message-ID:  <201804181052.w3IAqI3C089536@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"   | \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804181052.w3IAqI3C089536>