From owner-freebsd-gnome@FreeBSD.ORG Mon Nov 27 15:37:22 2006 Return-Path: X-Original-To: gnome@freebsd.org Delivered-To: freebsd-gnome@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C132916A4A0; Mon, 27 Nov 2006 15:37:22 +0000 (UTC) (envelope-from marcus@marcuscom.com) Received: from creme-brulee.marcuscom.com (creme-brulee.marcuscom.com [24.172.16.118]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBEB043E17; Mon, 27 Nov 2006 15:35:43 +0000 (GMT) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.13.8/8.13.8) with ESMTP id kARFauj1098426; Mon, 27 Nov 2006 10:36:56 -0500 (EST) (envelope-from marcus@marcuscom.com) From: Joe Marcus Clarke To: Norikatsu Shigemura In-Reply-To: <20061128002221.79d166c9.nork@FreeBSD.org> References: <20061128002221.79d166c9.nork@FreeBSD.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-8UJAHuTq6ONgaIw7WEOk" Organization: MarcusCom, Inc. Date: Mon, 27 Nov 2006 10:36:31 -0500 Message-Id: <1164641791.24812.11.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2.1 FreeBSD GNOME Team Port Cc: gnome@freebsd.org Subject: Re: www/firefox: PTHREAD_LIBS clean X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2006 15:37:22 -0000 --=-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 > =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--