Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Feb 2006 17:04:16 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Jean-Marc Zucconi <jmz@FreeBSD.org>
Cc:        cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org
Subject:   Re: cvs commit: ports/benchmarks/iozone Makefile
Message-ID:  <20060209220416.GA13812@xor.obsecurity.org>
In-Reply-To: <200602092158.k19LwDTE044725@repoman.freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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
> 

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFD67xgWry0BWjoQKURAiQeAKDxMOuuvIKL9S2Wbtf3GfeI9UczGgCfWKPo
ZNcjoziLDAeh4b7QMvkaflI=
=L5P8
-----END PGP SIGNATURE-----
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209220416.GA13812>