HEADS UP: libkse -> libpthread switch
Joe Marcus Clarke
marcus at marcuscom.com
Fri Jan 30 12:39:59 PST 2004
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.
>
> 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. 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= -lc_r to
PTHREAD_LIBS?= -lpthread, and set PTHREAD_CFLAGS to PTHREAD_CFLAGS?=
(leave the default value blank).
Joe
>
> Best regards,
>
> Arjan
>
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
--
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040130/43dae657/attachment-0003.bin
More information about the freebsd-current
mailing list