Date: Wed, 23 Feb 2005 19:47:31 +0100 From: Michael Nottebrock <michaelnottebrock@gmx.net> To: Johnny Lam <jlam@netbsd.org> Cc: freebsd-ports@freebsd.org Subject: Re: FreeBSD Port: ruby18-1.8.2_2 Message-ID: <200502231947.34918.michaelnottebrock@gmx.net> In-Reply-To: <421CBA04.2070002@NetBSD.org> References: <64348.207.219.213.162.1109011818.squirrel@207.219.213.162> <200502231749.22024.michaelnottebrock@gmx.net> <421CBA04.2070002@NetBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1264802.uZB5ghUje0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday, 23. February 2005 18:14, Johnny Lam wrote: > What do I need to do in the following cases for each > release of FreeBSD? =46rom bsd.port.mk: =2Eif ${OSVERSION} < 500016 PTHREAD_CFLAGS?=3D -D_THREAD_SAFE PTHREAD_LIBS?=3D -pthread =2Eelif ${OSVERSION} < 502102 PTHREAD_CFLAGS?=3D -D_THREAD_SAFE PTHREAD_LIBS?=3D -lc_r =2Eelse PTHREAD_CFLAGS?=3D PTHREAD_LIBS?=3D -pthread =2Eendif < 500016 is more or less 4.x, 5.0-RELEASE is 500043. < 502102 is up and including 5.2.1-RELEASE (and 5-CURRENT up to=20 5.3-BETA-something). Note that none of the releases in this particular rang= e=20 are supported anymore and developers are best off ignoring their existence= =20 and idiosyncrasies wrt to pthreads completely. So, for all currently supported releases and 6-CURRENT, it's pretty easy:=20 Everything that uses pthreads is compiled/linked with -pthread and pthread= =20 symbols must always be resolved through executables, even if the executable= =20 does not use pthreads itself but links to a shared library that does. =2D-=20 ,_, | Michael Nottebrock | lofi@freebsd.org (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org --nextPart1264802.uZB5ghUje0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQBCHM/GXhc68WspdLARAl4TAJ0VC8BtYQzm5BjEoIbr2OYpspOeUwCfbpsJ 6CiCMzzCopXqUX2eGmY3UG0= =GkXK -----END PGP SIGNATURE----- --nextPart1264802.uZB5ghUje0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502231947.34918.michaelnottebrock>