aboutsummaryrefslogtreecommitdiff
path: root/benchmarks/iozone
diff options
context:
space:
mode:
authorJean-Marc Zucconi <jmz@FreeBSD.org>2006-02-09 21:58:12 +0000
committerJean-Marc Zucconi <jmz@FreeBSD.org>2006-02-09 21:58:12 +0000
commit7fb1f0eb81dab52b250b62ca6baa54a2ee6676d3 (patch)
tree9e2e9b7816fbaca0c94dc3c06e95f5ef5e741d7d /benchmarks/iozone
parentca82e7631c916b7f39a82a555044b0e6d5308b26 (diff)
downloadports-7fb1f0eb81dab52b250b62ca6baa54a2ee6676d3.tar.gz
ports-7fb1f0eb81dab52b250b62ca6baa54a2ee6676d3.zip
Build fix for 4.x: don't use pthreads
Notes
Notes: svn path=/head/; revision=155609
Diffstat (limited to 'benchmarks/iozone')
-rw-r--r--benchmarks/iozone/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/benchmarks/iozone/Makefile b/benchmarks/iozone/Makefile
index 25c77e99d604..146c7004f769 100644
--- a/benchmarks/iozone/Makefile
+++ b/benchmarks/iozone/Makefile
@@ -27,10 +27,12 @@ ALL_TARGET=
MAN1= iozone.1
PLIST_FILES= bin/iozone
-OPTIONS= THREADS "Enable threading (uses pthreads)" on
-
.include <bsd.port.pre.mk>
+.if ${OSVERSION} > 500000
+OPTIONS= THREADS "Enable threading (uses pthreads)" on
+.endif
+
.if defined (WITH_THREADS)
CFLAGS+= -pthread
MAKE_ENV= LDFLAGS=-lpthread