cvs commit: ports/benchmarks/iozone Makefile

Kris Kennaway kris at obsecurity.org
Thu Feb 9 14:04:24 PST 2006


On Thu, Feb 09, 2006 at 09:58:12PM +0000, Jean-Marc Zucconi wrote:
> jmz         2006-02-09 21:58:12 UTC
> 
>   FreeBSD ports repository
> 
>   Modified files:
>     benchmarks/iozone    Makefile 
>   Log:
>   Build fix for 4.x: don't use pthreads

Surely the correct fix is to not hardcode libpthread but use
PTHREAD_LIBS?

Kris

> | -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
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20060209/02a6d4cb/attachment.bin


More information about the cvs-all mailing list