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> References: <200602092158.k19LwDTE044725@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Dxnq1zWXvFF0Q93v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 09, 2006 at 09:58:12PM +0000, Jean-Marc Zucconi wrote: > jmz 2006-02-09 21:58:12 UTC >=20 > FreeBSD ports repository >=20 > Modified files: > benchmarks/iozone Makefile=20 > 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=3D THREADS "Enable threading (uses pthreads)" on > | - > | .include <bsd.port.pre.mk> > | + > | +.if ${OSVERSION} > 500000 > | +OPTIONS=3D THREADS "Enable threading (uses pthreads)" on > | +.endif > | =20 > | .if defined (WITH_THREADS) > | CFLAGS+=3D -pthread >=20 --Dxnq1zWXvFF0Q93v Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD67xgWry0BWjoQKURAiQeAKDxMOuuvIKL9S2Wbtf3GfeI9UczGgCfWKPo ZNcjoziLDAeh4b7QMvkaflI= =L5P8 -----END PGP SIGNATURE----- --Dxnq1zWXvFF0Q93v--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060209220416.GA13812>