aboutsummaryrefslogtreecommitdiffstats
path: root/benchmarks
diff options
context:
space:
mode:
authorbeat <beat@FreeBSD.org>2012-09-26 01:52:49 +0800
committerbeat <beat@FreeBSD.org>2012-09-26 01:52:49 +0800
commit1984aeea09574a9280d42bfffc258f544a594f58 (patch)
tree819f700a3038967ed6d0cc2ed8538d9a5ea380cc /benchmarks
parentfe6436e28761b6f224f2f958e8e0696091770d50 (diff)
downloadfreebsd-ports-gnome-1984aeea09574a9280d42bfffc258f544a594f58.tar.gz
freebsd-ports-gnome-1984aeea09574a9280d42bfffc258f544a594f58.tar.zst
freebsd-ports-gnome-1984aeea09574a9280d42bfffc258f544a594f58.zip
- Mark BROKEN on FreeBSD 7.x: does not link
undefined reference to `sqrtl' Reported by: pointyhat
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>