aboutsummaryrefslogtreecommitdiffstats
path: root/net/pfflowd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/pfflowd/Makefile')
-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