aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-08-30 18:19:47 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-08-30 18:19:47 +0000
commit7b6af006aa60f009caad0726d7f8517bb47e261d (patch)
treecabe6bb45ea9cb10c20256d1a2bc4625e73490f0 /sysutils
parent803acf3a4165e84e3688b525319f86099e8ef345 (diff)
downloadports-7b6af006aa60f009caad0726d7f8517bb47e261d.tar.gz
ports-7b6af006aa60f009caad0726d7f8517bb47e261d.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pftop/Makefile16
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")