aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2006-11-28 01:08:25 +0800
committermarcus <marcus@FreeBSD.org>2006-11-28 01:08:25 +0800
commit0632694a81af9d549d6a8797a941f665c9fdaefe (patch)
tree56f2855dcf904ea1339d066d967c46922c7cac83
parent3cc5cf6f85f523f4b557581a349ab7d978b413db (diff)
downloadfreebsd-ports-graphics-0632694a81af9d549d6a8797a941f665c9fdaefe.tar.gz
freebsd-ports-graphics-0632694a81af9d549d6a8797a941f665c9fdaefe.tar.zst
freebsd-ports-graphics-0632694a81af9d549d6a8797a941f665c9fdaefe.zip
Fix a problem with PTHREAD_LIB-safeness.
Submitted by: nork
-rw-r--r--mail/lightning/Makefile2
-rw-r--r--www/firefox-esr/Makefile2
-rw-r--r--www/firefox/Makefile2
-rw-r--r--www/firefox36/Makefile2
4 files changed, 4 insertions, 4 deletions
diff --git a/mail/lightning/Makefile b/mail/lightning/Makefile
index 63340afbc39..2a8ec1ff379 100644
--- a/mail/lightning/Makefile
+++ b/mail/lightning/Makefile
@@ -63,7 +63,7 @@ pre-everything::
post-patch:
@${SED} -e 's|@MOZILLA_ICON@|${MOZILLA_ICON}|' \
${FILESDIR}/${MOZILLA}.desktop.in >${WRKDIR}/${MOZILLA}.desktop
- ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${GECKO_PTHREAD_LIBS}|' \
+ @${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/security/manager/ssl/src/Makefile.in
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index d2b3177e1fc..2abeb1d7401 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -69,7 +69,7 @@ post-extract::
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
post-patch:
- ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${GECKO_PTHREAD_LIBS}|' \
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/security/manager/ssl/src/Makefile.in
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index d2b3177e1fc..2abeb1d7401 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/Makefile
@@ -69,7 +69,7 @@ post-extract::
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
post-patch:
- ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${GECKO_PTHREAD_LIBS}|' \
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/security/manager/ssl/src/Makefile.in
diff --git a/www/firefox36/Makefile b/www/firefox36/Makefile
index d2b3177e1fc..2abeb1d7401 100644
--- a/www/firefox36/Makefile
+++ b/www/firefox36/Makefile
@@ -69,7 +69,7 @@ post-extract::
<${FILESDIR}/firefox.desktop.in >${WRKDIR}/${MOZILLA}.desktop
post-patch:
- ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${GECKO_PTHREAD_LIBS}|' \
+ ${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS:C/-pthread/${GECKO_PTHREAD_LIBS}/}|' \
${WRKSRC}/storage/build/Makefile.in
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
${WRKSRC}/security/manager/ssl/src/Makefile.in