aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorobraun <obraun@FreeBSD.org>2004-03-09 15:10:55 +0800
committerobraun <obraun@FreeBSD.org>2004-03-09 15:10:55 +0800
commitf8dbbe6a1a5a190d8311d34a039baa7b480f6b91 (patch)
treeeb7e5d8d67990754e2bc33a4f3aec66ad270d98e /net
parent0a683507a3bbb7c635e1ba6f94c9f59dcc197dc0 (diff)
downloadfreebsd-ports-gnome-f8dbbe6a1a5a190d8311d34a039baa7b480f6b91.tar.gz
freebsd-ports-gnome-f8dbbe6a1a5a190d8311d34a039baa7b480f6b91.tar.zst
freebsd-ports-gnome-f8dbbe6a1a5a190d8311d34a039baa7b480f6b91.zip
Adapt dependencies to the new situation where pf is part of the base system.
PR: ports/63958 Submitted by: maintainer
Diffstat (limited to 'net')
-rw-r--r--net/pfflowd/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/net/pfflowd/Makefile b/net/pfflowd/Makefile
index 0b8fa0de1752..723bd5aedec1 100644
--- a/net/pfflowd/Makefile
+++ b/net/pfflowd/Makefile
@@ -13,9 +13,6 @@ MASTER_SITES= http://www.mindrot.org/files/pfflowd/
MAINTAINER= andy@fud.org.nz
COMMENT= Convert pfsync states to NetFlow datagrams
-BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
-RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
-
MAN8= pfflowd.8
PLIST_FILES= sbin/pfflowd \
@@ -31,6 +28,11 @@ IGNORE= "Only for 5.0 and above"
BROKEN= "Does not compile on !i386"
.endif
+.if ${OSVERSION} < 502106
+BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf
+RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf
+.endif
+
post-patch:
${SED} -e 's|@@PREFIX@@|${PREFIX}|g' < ${FILESDIR}/pfflowd.sh.sample \
> ${WRKSRC}/pfflowd.sh.sample