aboutsummaryrefslogtreecommitdiffstats
path: root/www/seamonkey2
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2003-09-07 02:34:37 +0800
committermarcus <marcus@FreeBSD.org>2003-09-07 02:34:37 +0800
commitaaef62a5e5286777b173c3c108ac606ca40f0a6e (patch)
treec4aef6f28e10b7a04f71b27aab8c73550afa1f8e /www/seamonkey2
parentae8d70049f4eda926ea5072a555ab996684c111c (diff)
downloadfreebsd-ports-graphics-aaef62a5e5286777b173c3c108ac606ca40f0a6e.tar.gz
freebsd-ports-graphics-aaef62a5e5286777b173c3c108ac606ca40f0a6e.tar.zst
freebsd-ports-graphics-aaef62a5e5286777b173c3c108ac606ca40f0a6e.zip
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).
Diffstat (limited to 'www/seamonkey2')
-rw-r--r--www/seamonkey2/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/seamonkey2/Makefile b/www/seamonkey2/Makefile
index e36098a15b4..379ce2130ce 100644
--- a/www/seamonkey2/Makefile
+++ b/www/seamonkey2/Makefile
@@ -202,6 +202,13 @@ post-patch:
${WRKSRC}/config/autoconf.mk.in
@${FIND} ${WRKSRC}/other-licenses/libical -name "*.c" | ${XARGS} \
${REINPLACE_CMD} 's|<malloc.h>|<stdlib.h>|g'
+ @${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
.if defined(WITH_GTK2)
@for pcfile in ${PKGCONFIG_FILES}; do \
${REINPLACE_CMD} -e 's|mozilla-xpcom|mozilla-xpcom${MOZ_SUFX}|g ; \