summaryrefslogtreecommitdiffstats
path: root/sysutils/pftop
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-08-30 18:19:47 +0000
committerlofi <lofi@FreeBSD.org>2004-08-30 18:19:47 +0000
commit084ba5a301ce1288fbd5b626ef604268683f83da (patch)
tree2f463620936838fb15c157dc087866ab582c02f4 /sysutils/pftop
parent6a234f8c2eecb4ae6859431d7c657cb7054304eb (diff)
downloadFreeBSD-ports-084ba5a301ce1288fbd5b626ef604268683f83da.zip
FreeBSD-ports-084ba5a301ce1288fbd5b626ef604268683f83da.tar.gz
Enable ALTQ and 3.5 functionality after the import and update to base.
Submitted by: maintainer Reminded by: yongari
Diffstat (limited to 'sysutils/pftop')
-rw-r--r--sysutils/pftop/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index 1fe0335..3eeca66 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")
OpenPOWER on IntegriCloud