Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Nov 2006 01:42:01 +0900
From:      Norikatsu Shigemura <nork@FreeBSD.org>
To:        Joe Marcus Clarke <marcus@marcuscom.com>
Cc:        gnome@FreeBSD.org, Norikatsu Shigemura <nork@FreeBSD.org>
Subject:   Re: www/firefox: PTHREAD_LIBS clean
Message-ID:  <20061128014201.c75f1031.nork@FreeBSD.org>
In-Reply-To: <1164641791.24812.11.camel@shumai.marcuscom.com>
References:  <20061128002221.79d166c9.nork@FreeBSD.org> <1164641791.24812.11.camel@shumai.marcuscom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 27 Nov 2006 10:36:31 -0500
Joe Marcus Clarke <marcus@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061128014201.c75f1031.nork>