diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-30 18:19:47 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-08-30 18:19:47 +0000 |
commit | 7b6af006aa60f009caad0726d7f8517bb47e261d (patch) | |
tree | cabe6bb45ea9cb10c20256d1a2bc4625e73490f0 /sysutils | |
parent | 803acf3a4165e84e3688b525319f86099e8ef345 (diff) | |
download | ports-7b6af006aa60f009caad0726d7f8517bb47e261d.tar.gz ports-7b6af006aa60f009caad0726d7f8517bb47e261d.zip |
Notes
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pftop/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile index 1fe0335d395b..3eeca665b58c 100644 --- a/sysutils/pftop/Makefile +++ b/sysutils/pftop/Makefile @@ -7,6 +7,7 @@ PORTNAME= pftop PORTVERSION= 0.4 +PORTREVISION= 1 CATEGORIES= sysutils net MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/ DISTNAME= ${PORTNAME}-${PORTVERSION} @@ -18,17 +19,22 @@ MAN8= pftop.8 MANCOMPRESSED= no -MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34 -.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes") -CFLAGS+= -DHAVE_ALTQ=1 -.endif - .include <bsd.port.pre.mk> .if ${OSVERSION} < 500000 IGNORE= "Only for 5.0 and above" .endif +.if ${OSVERSION} < 502116 +MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=34 +.if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes") +CFLAGS+= -DHAVE_ALTQ=1 +.endif +.else +MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=35 +CFLAGS+= -DHAVE_ALTQ=1 +.endif + .if ${OSVERSION} < 502106 BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf .if defined(WITH_ALTQ) && (${WITH_ALTQ} == "yes") |