aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pftop/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-05-18 15:42:52 +0000
committerRenato Botelho <garga@FreeBSD.org>2013-05-18 15:42:52 +0000
commit841c467a9aad62ae5a7ae6a77826e61e820fc6ee (patch)
tree97d150bd6d8149bd47b49b1f75cb4a53b1baa723 /sysutils/pftop/Makefile
parent606c643741ced3987e1f34c74a9df0a31bf54338 (diff)
downloadports-841c467a9aad62ae5a7ae6a77826e61e820fc6ee.tar.gz
ports-841c467a9aad62ae5a7ae6a77826e61e820fc6ee.zip
- Unbreak pftop on HEAD > r240233 [1]
. Reported by Sven Hazejager. - Unbreak on FreeBSD 9 without pf 4.5 [1] - Fix segfaults on FreeBSD 8 [2] - Fix rule display in a couple of views on FreeBSD 9 and 10 [1] . Reported and tested by Thomas Kinsey . Fix reported to OpenBSD by Robert Mills PR: ports/175927 Submitted by: [1] Fabian Keil <fk@fabiankeil.de>, [2] garga@ Approved by: maintainer timeout (over 60 days)
Notes
Notes: svn path=/head/; revision=318433
Diffstat (limited to 'sysutils/pftop/Makefile')
-rw-r--r--sysutils/pftop/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index 63ef1b23c7ef..36ab0ff9c49e 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pftop
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils net
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
@@ -23,7 +23,7 @@ MANCOMPRESSED= no
.if ${OSVERSION} < 700049
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=37
CFLAGS+= -DHAVE_ALTQ=1
-.elif ${OSVERSION} < 900000
+.elif ${OSVERSION} < 900039
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=41
CFLAGS+= -DHAVE_ALTQ=1
.else
@@ -32,10 +32,14 @@ CFLAGS+= -DHAVE_ALTQ=1 -DHAVE_SNPRINTF=1 -DHAVE_VSNPRINTF=1
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-cache.c \
${FILESDIR}/extra-patch-cache.h \
${FILESDIR}/extra-patch-config.h \
- ${FILESDIR}/extra-patch-engine.c \
${FILESDIR}/extra-patch-pftop.c \
${FILESDIR}/extra-patch-sf-gencode.c
+.if ${OSVERSION} > 1000017
+CFLAGS+= -DHAVE_FINE_GRAINED_LOCKING=1
.endif
+.endif
+
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-engine.c
MAKE_ENV+= __MAKE_CONF=/dev/null