aboutsummaryrefslogtreecommitdiffstats
path: root/mail/thunderbird
diff options
context:
space:
mode:
authormezz <mezz@FreeBSD.org>2005-09-07 15:27:45 +0800
committermezz <mezz@FreeBSD.org>2005-09-07 15:27:45 +0800
commit6fac5bce16fe8af59b2bf0a62da39ebda5bf0960 (patch)
tree5c919e73f6f43188471374787762b98bbab3379a /mail/thunderbird
parent58e16df6b85f70231e66ec257c3c698782ad2dd6 (diff)
downloadfreebsd-ports-gnome-6fac5bce16fe8af59b2bf0a62da39ebda5bf0960.tar.gz
freebsd-ports-gnome-6fac5bce16fe8af59b2bf0a62da39ebda5bf0960.tar.zst
freebsd-ports-gnome-6fac5bce16fe8af59b2bf0a62da39ebda5bf0960.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)
Diffstat (limited to 'mail/thunderbird')
-rw-r--r--mail/thunderbird/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/mail/thunderbird/Makefile b/mail/thunderbird/Makefile
index 22d733ce1a10..51d8111d15aa 100644
--- a/mail/thunderbird/Makefile
+++ b/mail/thunderbird/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} \