aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pftop/Makefile
diff options
context:
space:
mode:
authorMarcelo Araujo <araujo@FreeBSD.org>2014-10-21 08:41:54 +0000
committerMarcelo Araujo <araujo@FreeBSD.org>2014-10-21 08:41:54 +0000
commitb549d1848eb35ca1ff42d37c921dd1aefe0c571d (patch)
treea709ddf450e6f284e91b8ee13113d601a1588607 /sysutils/pftop/Makefile
parenta74ab112176767d5ba7ed18616dcf3ce93c28cac (diff)
downloadports-b549d1848eb35ca1ff42d37c921dd1aefe0c571d.tar.gz
ports-b549d1848eb35ca1ff42d37c921dd1aefe0c571d.zip
- Fix my latest commit, it UNBROKEN on 11, but BREAK it in all other OSVERSION.
- Bump PORTREVISION. Reported by: "Herbert J. Skuhra" <herbert@oslo.ath.cx> Tested by: "Herbert J. Skuhra" <herbert@oslo.ath.cx>
Notes
Notes: svn path=/head/; revision=371313
Diffstat (limited to 'sysutils/pftop/Makefile')
-rw-r--r--sysutils/pftop/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/pftop/Makefile b/sysutils/pftop/Makefile
index bcafce80cef9..e50c56b89993 100644
--- a/sysutils/pftop/Makefile
+++ b/sysutils/pftop/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pftop
PORTVERSION= 0.7
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= sysutils net
MASTER_SITES= http://www.eee.metu.edu.tr/~canacar/
@@ -12,6 +12,11 @@ COMMENT= Utility for real-time display of statistics for pf
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 1100000
+EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bpf_dump.c \
+ ${FILESDIR}/extra-patch-sf-gencode.h
+.endif
+
.if ${OSVERSION} < 900039
MAKE_ARGS= LOCALBASE="${PREFIX}" OSLEVEL=41
CFLAGS+= -DHAVE_ALTQ=1