Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2004 15:51:24 -0500 (EST)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Arjan van Leeuwen <avleeuwen@piwebs.com>
Cc:        current@freebsd.org
Subject:   Re: HEADS UP: libkse -> libpthread switch
Message-ID:  <Pine.GSO.4.10.10401301550340.9870-100000@pcnet5.pcnet.com>
In-Reply-To: <200401302131.53062.avleeuwen@piwebs.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10401301550340.9870-100000>