6d04f0efe7
* Remove obsolete mozilla-jit option Changelog: Fix the following security issues. MFSA 2012-56 Code execution through javascript: URLs MFSA 2012-54 Clickjacking of certificate warning page MFSA 2012-53 Content Security Policy 1.0 implementation errors cause data leakage MFSA 2012-52 JSDependentString::undepend string conversion results in memory corruption MFSA 2012-51 X-Frame-Options header ignored when duplicated MFSA 2012-49 Same-compartment Security Wrappers can be bypassed MFSA 2012-48 use-after-free in nsGlobalWindow::PageHidden MFSA 2012-47 Improper filtering of javascript in HTML feed-view MFSA 2012-45 Spoofing issue with location MFSA 2012-44 Gecko memory corruption MFSA 2012-42 Miscellaneous memory safety hazards (rv:14.0/ rv:10.0.6)
64 lines
1.9 KiB
Makefile
64 lines
1.9 KiB
Makefile
# $NetBSD: options.mk,v 1.2 2012/08/04 12:03:32 ryoon Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird
|
|
PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome official-mozilla-branding mozilla-lightning mozilla-enigmail
|
|
PKG_SUGGESTED_OPTIONS= mozilla-lightning
|
|
|
|
PLIST_VARS+= branding nobranding debug gnome jemalloc
|
|
|
|
.if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS"
|
|
PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc
|
|
.endif
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mgnome)
|
|
.include "../../devel/libgnomeui/buildlink3.mk"
|
|
.include "../../sysutils/gnome-vfs/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --enable-gnomevfs --enable-dbus --enable-gnomeui
|
|
PLIST.gnome= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-gnomevfs --disable-dbus --disable-gnomeui
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmozilla-jemalloc)
|
|
PLIST.jemalloc= yes
|
|
CONFIGURE_ARGS+= --enable-jemalloc
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-jemalloc
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mdebug)
|
|
CONFIGURE_ARGS+= --enable-debug --enable-debug-symbols
|
|
CONFIGURE_ARGS+= --disable-install-strip
|
|
PLIST.debug= yes
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-debug --disable-debug-symbols
|
|
CONFIGURE_ARGS+= --enable-install-strip
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmozilla-lightning)
|
|
CONFIGURE_ARGS+= --enable-calendar
|
|
PLIST_SRC+= PLIST.lightning
|
|
XPI_FILES+= ${WRKSRC}/mozilla/dist/xpi-stage/calendar-timezones.xpi
|
|
XPI_FILES+= ${WRKSRC}/mozilla/dist/xpi-stage/gdata-provider.xpi
|
|
XPI_FILES+= ${WRKSRC}/mozilla/dist/xpi-stage/lightning.xpi
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-calendar
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mmozilla-enigmail) || make(distinfo)
|
|
.include "enigmail.mk"
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mofficial-mozilla-branding)
|
|
CONFIGURE_ARGS+= --enable-official-branding
|
|
PLIST.branding= yes
|
|
LICENSE= mozilla-trademark-license
|
|
RESTRICTED= Trademark holder prohibits distribution of modified versions.
|
|
NO_BIN_ON_CDROM= ${RESTRICTED}
|
|
NO_BIN_ON_FTP= ${RESTRICTED}
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-official-branding
|
|
PLIST.nobranding= yes
|
|
.endif
|