www/firefox: PTHREAD_LIBS clean
Joe Marcus Clarke
marcus at marcuscom.com
Mon Nov 27 07:37:22 PST 2006
On Tue, 2006-11-28 at 00:22 +0900, Norikatsu Shigemura wrote:
> Hi gnome developpers!
>
> What is GECKO_PTHREAD_LIBS?
Unfortunately this is needed to workaround our bogus -pthread linking
problem. We must pass a real -lblah to the linker so that the resulting
shared object retains the link. Using PTHREAD_LIBS here will not work
if PTHREAD_LIBS = -pthread.
Joe
>
>
> Index: Makefile
> ===================================================================
> RCS file: /home/ncvs/ports/www/firefox/Makefile,v
> retrieving revision 1.165
> diff -u -r1.165 Makefile
> --- Makefile 10 Nov 2006 07:03:50 -0000 1.165
> +++ Makefile 27 Nov 2006 15:10:10 -0000
> @@ -49,8 +49,6 @@
>
> .include <bsd.port.pre.mk>
>
> -GECKO_PTHREAD_LIBS!=${CC} -dumpspecs | ${GREP} pthread | ${SED} -e 's|^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE}
> -
> .if ${OSVERSION} < 500000
> BROKEN= does not build
> .endif
> @@ -69,7 +67,7 @@
> <${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
>
> post-patch:
> - ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${GECKO_PTHREAD_LIBS}|' \
> + ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|' \
> ${WRKSRC}/storage/build/Makefile.in
> @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
> ${WRKSRC}/security/manager/ssl/src/Makefile.in
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-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-gnome/attachments/20061127/6108fb74/attachment.pgp
More information about the freebsd-gnome
mailing list