1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Adapt dependencies to the new situation where pf is part of the base system.

PR:		ports/63958
Submitted by:	maintainer
This commit is contained in:
Oliver Braun 2004-03-09 07:10:55 +00:00
parent a781291126
commit 8b1e7b3d00
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103372

View File

@ -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