summaryrefslogtreecommitdiffstats
path: root/net/libdnet
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2003-09-03 23:28:08 +0000
committeredwin <edwin@FreeBSD.org>2003-09-03 23:28:08 +0000
commit243f660c2f386613c13e46ff473515b7a562179a (patch)
treea4728878e0436a3af2b15d0179e4e73cdc6e4195 /net/libdnet
parent750d0b0e2d89edc9d503e4704776e32ba93758f1 (diff)
downloadFreeBSD-ports-243f660c2f386613c13e46ff473515b7a562179a.zip
FreeBSD-ports-243f660c2f386613c13e46ff473515b7a562179a.tar.gz
[PATCH] net/libdnet: unbreak on -CURRENT
[DESCRIBE CHANGES] This band-aid fix inhibits IPFW detection at configure time. At least it will allow -CURRENT users to build ports depending on this one (net/honeyd, net/arpd, net/ttlscan, security/fragroute). Note that this doesn't solve the FreeBSD 4.x + IPFW2 case. Added directory / file: files/configure.patch Port maintainer (dominic.marks@btinternet.com) is cc'd. PR: ports/55807 Submitted by: Yann Berthier <yb@sainte-barbe.org>
Diffstat (limited to 'net/libdnet')
-rw-r--r--net/libdnet/Makefile3
-rw-r--r--net/libdnet/files/configure.patch11
2 files changed, 13 insertions, 1 deletions
diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile
index dcd80ac..d2cb512 100644
--- a/net/libdnet/Makefile
+++ b/net/libdnet/Makefile
@@ -7,6 +7,7 @@
PORTNAME= libdnet
PORTVERSION= 1.7
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -19,7 +20,7 @@ GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 500037
-BROKEN= libdnet does not currently support ipfw 2
+EXTRA_PATCHES= ${PATCHDIR}/configure.patch
.endif
MAN3= dnet.3
diff --git a/net/libdnet/files/configure.patch b/net/libdnet/files/configure.patch
new file mode 100644
index 0000000..782ed87
--- /dev/null
+++ b/net/libdnet/files/configure.patch
@@ -0,0 +1,11 @@
+--- configure.orig Tue Aug 19 13:57:02 2003
++++ configure Tue Aug 19 13:57:21 2003
+@@ -4609,8 +4609,6 @@
+
+ if test "$ac_cv_header_net_pfvar_h" = yes ; then
+ LIBOBJS="$LIBOBJS fw-pf.$ac_objext"
+-elif test "$ac_cv_header_netinet_ip_fw_h" = yes ; then
+- LIBOBJS="$LIBOBJS fw-ipfw.$ac_objext"
+ elif test "$ac_cv_header_netinet_ip_fil_h" = yes ; then
+ LIBOBJS="$LIBOBJS fw-ipf.$ac_objext"
+ elif test "$ac_cv_header_linux_ip_fw_h" = yes ; then
OpenPOWER on IntegriCloud