Date: Mon, 27 Nov 2006 10:36:31 -0500 From: Joe Marcus Clarke <marcus@marcuscom.com> To: Norikatsu Shigemura <nork@freebsd.org> Cc: gnome@freebsd.org Subject: Re: www/firefox: PTHREAD_LIBS clean Message-ID: <1164641791.24812.11.camel@shumai.marcuscom.com> In-Reply-To: <20061128002221.79d166c9.nork@FreeBSD.org> References: <20061128002221.79d166c9.nork@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-8UJAHuTq6ONgaIw7WEOk Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Tue, 2006-11-28 at 00:22 +0900, Norikatsu Shigemura wrote: > Hi gnome developpers! >=20 > 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 =3D -pthread. Joe >=20 >=20 > Index: Makefile > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > 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 @@ > =20 > .include <bsd.port.pre.mk> > =20 > -GECKO_PTHREAD_LIBS!=3D${CC} -dumpspecs | ${GREP} pthread | ${SED} -e 's|= ^.*%{\!pg: %{pthread:|| ; s|}.*$$||' || ${TRUE} > - > .if ${OSVERSION} < 500000 > BROKEN=3D does not build > .endif > @@ -69,7 +67,7 @@ > <${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop > =20 > 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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-gnome > To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org" >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-8UJAHuTq6ONgaIw7WEOk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFawX/b2iPiv4Uz4cRAsVQAJ0VZM9uh/un7TnJWYw+EOKCBqLo7QCfXBfn yjv7fbN4uXgCoH6ppy4ug5Y= =F+2I -----END PGP SIGNATURE----- --=-8UJAHuTq6ONgaIw7WEOk--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1164641791.24812.11.camel>