Date: Fri, 30 May 2003 20:07:39 -0400 (EDT) From: Joe Marcus Clarke <marcus@freebsd.org> To: Daniel Eischen <eischen@pcnet.com> Cc: threads@freebsd.org Subject: Re: Transition plans: libkse->libpthread Message-ID: <20030530200515.Y25371@shumai.marcuscom.com> In-Reply-To: <Pine.GSO.4.10.10305301945590.10348-100000@pcnet5.pcnet.com> References: <Pine.GSO.4.10.10305301945590.10348-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 30 May 2003, Daniel Eischen wrote: > Sometime shortly after 5.1 release, we'll (hopefully) be > installing libpthread as "libpthread" instead of "libkse" > by default. There are some things that need to be fixed > (signal handling) before this can happen, but we're working > on it now. > > Locally, I install the library as libpthread, but this > breaks lots of ports that use autoconf and/or libtool. I > still have PTHREAD_LIBS unchanged (set to libc_r), but > that doesn't seem to matter. What the GNOME people have done is use this little post-patch regex substitution. This has been pretty successful. It may still miss some obscure -lpthread references, though. If you find a problem in a port that uses this, please let me know. @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure Joe -- PGP Key : http://www.marcuscom.com/pgp.asc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030530200515.Y25371>