www/firefox: PTHREAD_LIBS clean

Norikatsu Shigemura nork at FreeBSD.org
Mon Nov 27 08:49:58 PST 2006


On Mon, 27 Nov 2006 10:36:31 -0500
Joe Marcus Clarke <marcus at marcuscom.com> wrote:
> 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.

	Hummmm...  It is quite important.  I see GECKO_PTHREAD_LIBS.
	How about following approch?

${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
	${WRKSRC}/storage/build/Makefile.in


More information about the freebsd-gnome mailing list