Build fix for 4.x: don't use pthreads

This commit is contained in:
Jean-Marc Zucconi
2006-02-09 21:58:12 +00:00
parent ca82e7631c
commit 7fb1f0eb81

View File

@@ -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