aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-08-31 02:19:47 +0800
committerlofi <lofi@FreeBSD.org>2004-08-31 02:19:47 +0800
commit084ba5a301ce1288fbd5b626ef604268683f83da (patch)
tree2f463620936838fb15c157dc087866ab582c02f4 /sysutils
parent6a234f8c2eecb4ae6859431d7c657cb7054304eb (diff)
downloadfreebsd-ports-gnome-084ba5a301ce1288fbd5b626ef604268683f83da.tar.gz
freebsd-ports-gnome-084ba5a301ce1288fbd5b626ef604268683f83da.tar.zst
freebsd-ports-gnome-084ba5a301ce1288fbd5b626ef604268683f83da.zip
Enable ALTQ and 3.5 functionality after the import and update to base.
Submitted by: maintainer Reminded by: yongari
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")