summaryrefslogtreecommitdiff
path: root/www/seamonkey
diff options
context:
space:
mode:
Diffstat (limited to 'www/seamonkey')
-rw-r--r--www/seamonkey/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/seamonkey/Makefile b/www/seamonkey/Makefile
index e36098a15b47..379ce2130ce1 100644
--- a/www/seamonkey/Makefile
+++ b/www/seamonkey/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 ; \