diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile index dcd80acd7fba..d2cb512a4070 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 .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 000000000000..782ed8707b99 --- /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