diff options
author | marcus <marcus@FreeBSD.org> | 2003-09-07 02:34:37 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2003-09-07 02:34:37 +0800 |
commit | aaef62a5e5286777b173c3c108ac606ca40f0a6e (patch) | |
tree | c4aef6f28e10b7a04f71b27aab8c73550afa1f8e /mail/thunderbird-devel | |
parent | ae8d70049f4eda926ea5072a555ab996684c111c (diff) | |
download | freebsd-ports-gnome-aaef62a5e5286777b173c3c108ac606ca40f0a6e.tar.gz freebsd-ports-gnome-aaef62a5e5286777b173c3c108ac606ca40f0a6e.tar.zst freebsd-ports-gnome-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 'mail/thunderbird-devel')
-rw-r--r-- | mail/thunderbird-devel/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/thunderbird-devel/Makefile b/mail/thunderbird-devel/Makefile index 39b6266a7b38..ea21d8b77ad0 100644 --- a/mail/thunderbird-devel/Makefile +++ b/mail/thunderbird-devel/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} |