summaryrefslogtreecommitdiff
path: root/mail/thunderbird-esr
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-06 18:34:37 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2003-09-06 18:34:37 +0000
commit23dad2b5554e624ff2f98d189b1e0c29485bf586 (patch)
tree0bc5df01870d95b2cbb4c6d93ba3c603823a1aff /mail/thunderbird-esr
parentUpdate to 0.5.3. (diff)
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).
Notes
Notes: svn path=/head/; revision=88641
Diffstat (limited to 'mail/thunderbird-esr')
-rw-r--r--mail/thunderbird-esr/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/thunderbird-esr/Makefile b/mail/thunderbird-esr/Makefile
index 39b6266a7b38..ea21d8b77ad0 100644
--- a/mail/thunderbird-esr/Makefile
+++ b/mail/thunderbird-esr/Makefile
@@ -103,6 +103,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}