aboutsummaryrefslogtreecommitdiff
path: root/mail/thunderbird-devel
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2005-09-07 07:27:45 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2005-09-07 07:27:45 +0000
commitf446e728b4b782996f82dbfea4d83dde27e1ba2f (patch)
treedb1ff7dff375662b8affaa4737c44f123ea86f0c /mail/thunderbird-devel
parent6cb545ca68a9bd6eb2a1c3e172f92f6fbc3edb72 (diff)
downloadports-f446e728b4b782996f82dbfea4d83dde27e1ba2f.tar.gz
ports-f446e728b4b782996f82dbfea4d83dde27e1ba2f.zip
- Fix the plist. [1]
- Fix the build to actually enable iconv, without it caused locale garbled in some places. I accidented remove iconv hack in the big change. Oops! - Bump the PORTREVISION. Reported by: krismail [1], Junji Nakanishi <nakanishi@daemonfreaks.com> Sharp eye: marcus (he found that I lost iconv hack)
Notes
Notes: svn path=/head/; revision=142144
Diffstat (limited to 'mail/thunderbird-devel')
-rw-r--r--mail/thunderbird-devel/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/thunderbird-devel/Makefile b/mail/thunderbird-devel/Makefile
index 22d733ce1a10..51d8111d15aa 100644
--- a/mail/thunderbird-devel/Makefile
+++ b/mail/thunderbird-devel/Makefile
@@ -8,7 +8,7 @@
PORTNAME= thunderbird
PORTVERSION= 1.0.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_MOZILLA}
MASTER_SITE_SUBDIR= ${PORTNAME}/releases/${PORTVERSION}/source
@@ -161,6 +161,10 @@ post-patch:
@${FIND} ${WRKSRC} -name all.js | ${XARGS} ${REINPLACE_CMD} -e \
'/accessibility.typeaheadfind.enablesound/s/true/false/ ; \
/dom.disable_window_open_feature.toolbar/s/false/true/'
+ @${REINPLACE_CMD} -e 's|<iconv.h>|\"${LOCALBASE}/include/iconv.h\"|g' \
+ ${WRKSRC}/configure \
+ ${WRKSRC}/intl/uconv/native/nsNativeUConvService.cpp \
+ ${WRKSRC}/xpcom/io/nsNativeCharsetUtils.cpp
pre-configure:
@if [ -n "`${PKG_INFO} -xI '^bind[0-9]*-base-[0-9]'`" ]; then \
@@ -175,6 +179,7 @@ pre-install:
@${MKDIR} ${SCRIPTS_DIR}
@${MKDIR} ${MOZ_PIS_DIR}
${ECHO_CMD} 'share/applications/${PORTNAME}.desktop' >> ${PLIST}
+ ${ECHO_CMD} "@unexec ${RMDIR} %D/share/applications 2>/dev/null || ${TRUE}" >> ${PLIST}
${REINPLACE_CMD} -e 's|${FAKEDIR}|${PREFIX}|g; \
s|${PORTNAME}-${PORTVERSION}|${PORTNAME}|' \
${FAKEDIR}/bin/${PORTNAME} \