diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2004-03-09 00:06:49 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2004-03-09 00:06:49 +0000 |
commit | 37383a75959a154195c4d1aea3bd2c046d260be4 (patch) | |
tree | d7367abc7fd2720c3933ff0e2b81d3df2b8246da /sysutils/pfstat | |
parent | authpf is part of the base system, since OSVERSION > 502104. (diff) |
* Update dependencies as pf is now part of the base system. [1]
* Make portlint a little bit happier while I am here.
PR: ports/63951 [1]
Submitted by: maintainer [1]
Notes
Notes:
svn path=/head/; revision=103359
Diffstat (limited to 'sysutils/pfstat')
-rw-r--r-- | sysutils/pfstat/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/sysutils/pfstat/Makefile b/sysutils/pfstat/Makefile index e0e01cecd9c6..e428da6946bf 100644 --- a/sysutils/pfstat/Makefile +++ b/sysutils/pfstat/Makefile @@ -14,8 +14,6 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= max@love2party.net COMMENT= Utility to render grafical statistics for pf -BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf -RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf .if defined(WITH_GD1) LIB_DEPENDS= gd1.2:${PORTSDIR}/graphics/gd1 CFLAGS+= -I${LOCALBASE}/include/gd @@ -32,14 +30,19 @@ MAN8= pfstat.8 MANCOMPRESSED= no PLIST_FILES= bin/pfstat -CFLAGS+= -I${LOCALBASE}/include/pf - .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 IGNORE= "Only for 5.0 and above" .endif +.if ${OSVERSION} < 502106 +BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf +RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf + +CFLAGS+= -I${LOCALBASE}/include/pf +.endif + post-patch: @${REINPLACE_CMD} -e 's|-lgd|-l$${LD_GD}|; s| -lttf||' \ ${WRKSRC}/Makefile |