From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 12:39:59 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7300916A4CE; Fri, 30 Jan 2004 12:39:59 -0800 (PST) Received: from creme-brulee.marcuscom.com (rrcs-midsouth-24-172-16-118.biz.rr.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9A58443D39; Fri, 30 Jan 2004 12:39:43 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [10.2.1.4] (vpn-client-4.marcuscom.com [10.2.1.4]) i0UKawsm039152; Fri, 30 Jan 2004 15:36:58 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: avleeuwen@piwebs.com In-Reply-To: <200401302131.53062.avleeuwen@piwebs.com> References: <200401302131.53062.avleeuwen@piwebs.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Ydmhr1co/VWJtbmO8xwq" Organization: MarcusCom, Inc. Message-Id: <1075495187.761.85.camel@gyros> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Fri, 30 Jan 2004 15:39:48 -0500 X-Spam-Status: No, hits=-4.9 required=5.0 tests=BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on creme-brulee.marcuscom.com cc: deischen@freebsd.org cc: ports@freebsd.org cc: freebsd-current@freebsd.org cc: current@freebsd.org Subject: Re: HEADS UP: libkse -> libpthread switch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 20:39:59 -0000 --=-Ydmhr1co/VWJtbmO8xwq Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Fri, 2004-01-30 at 15:31, Arjan van Leeuwen wrote: > On Friday 30 January 2004 13:34, Daniel Eischen wrote: > > I added a note to updating: > > > (...) > > > > For the ports team, it is recommended that you don't install a > > libmap.conf so you can catch build problems. You can use > > ldd to check libraries and binaries for use of multiple > > thread libraries. Other than respecting PTHREAD_LIBS, > > I recommend that autoconf/libtool-type scripts first > > check for the existence of libpthread, then libc_r if > > libpthread isn't found. >=20 > How do I override PTHREAD_LIBS? If I place PTHREAD_LIBS=3D-lpthread=20 > in /etc/make.conf, it still points to -lc_r: >=20 > vincent% cd /usr/ports/www/mozilla > vincent% make -V PTHREAD_LIBS > -lc_r > vincent% >=20 > Doesn't this need a change in /usr/ports/Mk/bsd.port.mk? Yes. That will be committed as soon as my 4-exp build finishes. If you want to do a local change, simply change the PTHREAD_LIBS=3D -lc_r to PTHREAD_LIBS?=3D -lpthread, and set PTHREAD_CFLAGS to PTHREAD_CFLAGS?=3D (leave the default value blank). Joe >=20 > Best regards, >=20 > Arjan >=20 > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Ydmhr1co/VWJtbmO8xwq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAGsETb2iPiv4Uz4cRAtMKAJ9nG98/1Z0qQYQo46h0oJdNh7unCQCdHHK5 W5hrX270Ggy9TsG3ZyKcntQ= =eyN4 -----END PGP SIGNATURE----- --=-Ydmhr1co/VWJtbmO8xwq--