From 8b1e7b3d0070ac3f87be08a3db5105d652625eb1 Mon Sep 17 00:00:00 2001 From: Oliver Braun Date: Tue, 9 Mar 2004 07:10:55 +0000 Subject: Adapt dependencies to the new situation where pf is part of the base system. PR: ports/63958 Submitted by: maintainer --- net/pfflowd/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'net/pfflowd') 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 -- cgit v1.2.3