pkgsrc/mail/thunderbird/Makefile-thunderbird.common
ghen bb88696335 Update thunderbrd and thunderbird-gtk1 to 2.0.0.6.
Security fixes in this version:

MFSA 2007-27 Unescaped URIs passed to external programs
MFSA 2007-26 Privilege escalation through chrome-loaded about:blank windows

For more info, see http://www.mozilla.com/en-US/thunderbird/2.0.0.6/releasenotes/
2007-08-02 08:48:29 +00:00

39 lines
1.3 KiB
Text

# $NetBSD: Makefile-thunderbird.common,v 1.28 2007/08/02 08:48:29 ghen Exp $
MOZILLA_BIN= thunderbird-bin
MOZ_VER= 2.0.0.6
EXTRACT_SUFX= .tar.bz2
DISTNAME= thunderbird-${MOZ_VER}-source
CATEGORIES= mail
MASTER_SITES= http://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${MOZ_VER}/source/
MASTER_SITES+= ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/${MOZ_VER}/source/
HOMEPAGE= http://www.mozilla.com/en-US/thunderbird/
CONFIGURE_ENV+= MOZ_THUNDERBIRD=1
MAKE_ENV+= MOZ_THUNDERBIRD=1
DISTINFO_FILE= ${.CURDIR}/../../mail/thunderbird/distinfo
PATCHDIR= ${.CURDIR}/../../mail/thunderbird/patches
CONFIGURE_ARGS+= --enable-application=mail
CONFIGURE_ARGS+= --enable-single-profile
CONFIGURE_ARGS+= --enable-debug=-g
CONFIGURE_ENV+= ac_cv_visibility_pragma=no ac_cv_visibility_hidden=no
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/chrome/app-chrome.manifest
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/compreg.dat
CHECK_FILES_SKIP+= ${PREFIX}/lib/${MOZILLA}/components/xpti.dat
post-install:
cd ${PREFIX}/lib/${MOZILLA} && \
${SETENV} LD_LIBRARY_PATH=.:${PREFIX}/lib MOZILLA_FIVE_HOME=. HOME=${WRKSRC:Q} \
./${MOZILLA_BIN} -register
.include "../../mk/bsd.fast.prefs.mk"
.if ${OPSYS} == "NetBSD" || ${OPSYS} == "DragonFly"
CPPFLAGS+= -DSQLITE_THREAD_OVERRIDE_LOCK=0
.endif
.include "../../www/seamonkey/Makefile.common"