diff options
author | obraun <obraun@FreeBSD.org> | 2004-03-09 15:10:55 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2004-03-09 15:10:55 +0800 |
commit | f8dbbe6a1a5a190d8311d34a039baa7b480f6b91 (patch) | |
tree | eb7e5d8d67990754e2bc33a4f3aec66ad270d98e /net | |
parent | 0a683507a3bbb7c635e1ba6f94c9f59dcc197dc0 (diff) | |
download | freebsd-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/Makefile | 8 |
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 |