aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-07-18 16:30:05 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-07-18 16:30:05 +0800
commit81843038908d65c54e94aeaf6b95b48e3e88f245 (patch)
tree120c1eaa818f2723c3f5b883742ca362d701a101
parent7020ef1c40c579621ccc994841e49d75a091d000 (diff)
downloadfreebsd-ports-gnome-81843038908d65c54e94aeaf6b95b48e3e88f245.tar.gz
freebsd-ports-gnome-81843038908d65c54e94aeaf6b95b48e3e88f245.tar.zst
freebsd-ports-gnome-81843038908d65c54e94aeaf6b95b48e3e88f245.zip
Does not compile on FreeBSD 8.x
-rw-r--r--net-mgmt/tcpreplay/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/net-mgmt/tcpreplay/Makefile b/net-mgmt/tcpreplay/Makefile
index 2a1d04e84e95..574b8911a05b 100644
--- a/net-mgmt/tcpreplay/Makefile
+++ b/net-mgmt/tcpreplay/Makefile
@@ -18,8 +18,11 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-transform-name='s|.*\(tcp.*\)|\1|' \
--with-pcapnav-config=${LOCALBASE}/bin/pcapnav-config
-# does not build on FreeBSD 8.x
-PORTSCOUT= skipv:4.0.4
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900000
+BROKEN= does not compile on FreeBSD 8.x
+.endif
post-patch:
@${REINPLACE_CMD} -e 's|-Wall -O3||' ${WRKSRC}/${CONFIGURE_SCRIPT}
@@ -27,4 +30,4 @@ post-patch:
regression-test: build
@cd ${WRKSRC} && ${MAKE} -s test
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>