From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 12:51:50 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 2EB3316A4CF; Fri, 30 Jan 2004 12:51:50 -0800 (PST) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4CCD743D60; Fri, 30 Jan 2004 12:51:25 -0800 (PST) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.10/8.12.1) with ESMTP id i0UKpOiw010193; Fri, 30 Jan 2004 15:51:24 -0500 (EST) Date: Fri, 30 Jan 2004 15:51:24 -0500 (EST) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Arjan van Leeuwen In-Reply-To: <200401302131.53062.avleeuwen@piwebs.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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:51:50 -0000 On Fri, 30 Jan 2004, 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. > > How do I override PTHREAD_LIBS? If I place PTHREAD_LIBS=-lpthread > in /etc/make.conf, it still points to -lc_r: > > vincent% cd /usr/ports/www/mozilla > vincent% make -V PTHREAD_LIBS > -lc_r > vincent% > > Doesn't this need a change in /usr/ports/Mk/bsd.port.mk? Yes, I asked portmgr for permission to change bsd.port.mk but haven't yet been given it. -- Dan Eischen