From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 12:32:00 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 D3AA516A4CE for ; Fri, 30 Jan 2004 12:32:00 -0800 (PST) Received: from winston.piwebs.com (217-19-20-186.dsl.cambrium.nl [217.19.20.186]) by mx1.FreeBSD.org (Postfix) with SMTP id DCC7F43D1D for ; Fri, 30 Jan 2004 12:31:54 -0800 (PST) (envelope-from avleeuwen@piwebs.com) Received: (qmail 78850 invoked from network); 30 Jan 2004 20:31:53 -0000 Received: from vincent.piwebs.com (192.168.0.97) by winston.piwebs.com with SMTP; 30 Jan 2004 20:31:53 -0000 From: Arjan van Leeuwen To: freebsd-current@freebsd.org, deischen@freebsd.org Date: Fri, 30 Jan 2004 21:31:52 +0100 User-Agent: KMail/1.5.94 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200401302131.53062.avleeuwen@piwebs.com> cc: ports@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 Reply-To: avleeuwen@piwebs.com 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:32:00 -0000 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? Best regards, Arjan