summaryrefslogtreecommitdiff
path: root/net/pfflowd
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2004-03-09 07:10:55 +0000
committerOliver Braun <obraun@FreeBSD.org>2004-03-09 07:10:55 +0000
commit8b1e7b3d0070ac3f87be08a3db5105d652625eb1 (patch)
tree3485277301fb1f294f4a691b836d19ec84788bec /net/pfflowd
parentMark broken: the distfile was changed. (diff)
Adapt dependencies to the new situation where pf is part of the base system.
PR: ports/63958 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=103372
Diffstat (limited to 'net/pfflowd')
-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