aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>