From 23dad2b5554e624ff2f98d189b1e0c29485bf586 Mon Sep 17 00:00:00 2001 From: Joe Marcus Clarke Date: Sat, 6 Sep 2003 18:34:37 +0000 Subject: Use ${PTHREAD_LIBS} instead of hardcoded -pthread and -lc_r in a few places. This should help the KSE and libthr people use these applications (plus it lets them build on -CURRENT). --- www/firefox15/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'www/firefox15') diff --git a/www/firefox15/Makefile b/www/firefox15/Makefile index cc6b355f762d..0eea15c6840b 100644 --- a/www/firefox15/Makefile +++ b/www/firefox15/Makefile @@ -111,6 +111,13 @@ post-extract:: post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ ${WRKSRC}/build/unix/run-mozilla.sh + @${REINPLACE_CMD} -e 's|-lc_r|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|-pthread|${PTHREAD_LIBS}|g' \ + ${WRKSRC}/nsprpub/config/FreeBSD.mk \ + ${WRKSRC}/security/coreconf/FreeBSD.mk \ + ${WRKSRC}/directory/c-sdk/config/FreeBSD.mk \ + ${WRKSRC}/js/src/Makefile.in pre-install: ${RM} -fr ${LOCAL_PREFIX} -- cgit v1.2.3