aboutsummaryrefslogtreecommitdiff
path: root/benchmarks
diff options
context:
space:
mode:
authorBeat Gaetzi <beat@FreeBSD.org>2012-09-25 17:52:49 +0000
committerBeat Gaetzi <beat@FreeBSD.org>2012-09-25 17:52:49 +0000
commit48de2dcf2cfe067318087a3d411d868f68807707 (patch)
tree819f700a3038967ed6d0cc2ed8538d9a5ea380cc /benchmarks
parentf2602ac655032bc1e979a379d614d9236a8ba76d (diff)
downloadports-48de2dcf2cfe067318087a3d411d868f68807707.tar.gz
ports-48de2dcf2cfe067318087a3d411d868f68807707.zip
Notes
Diffstat (limited to 'benchmarks')
-rw-r--r--benchmarks/wrk/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/benchmarks/wrk/Makefile b/benchmarks/wrk/Makefile
index bfb137aa10a2..40a2e053b258 100644
--- a/benchmarks/wrk/Makefile
+++ b/benchmarks/wrk/Makefile
@@ -24,10 +24,16 @@ CFLAGS+= -std=c99 -D_DECLARE_C99_LDBL_MATH
PLIST_FILES= bin/wrk
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800000
+BROKEN= does not link on FreeBSD 7.x
+.endif
+
post-patch:
@${REINPLACE_CMD} '1d' ${WRKSRC}/Makefile
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>