summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild')
-rw-r--r--app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild b/app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild
index f0d36c3f178c..9915f4970450 100644
--- a/app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild
+++ b/app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild
@@ -1,12 +1,12 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild,v 1.5 2007/03/07 13:36:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/mozilla-sunbird/mozilla-sunbird-0.3.1.ebuild,v 1.6 2007/03/08 21:56:45 armin76 Exp $
WANT_AUTOCONF="2.1"
inherit flag-o-matic toolchain-funcs eutils mozconfig-2 mozilla-launcher makeedit multilib fdo-mime mozextension autotools
-PATCH="${P}-patches-0.1"
+PATCH="${P}-patches-0.2"
LANGS="ca cs da de es-ES eu fr hu it mn nl pl ru sk sl"
MY_PN="${PN/mozilla-}"
@@ -29,10 +29,18 @@ SLOT="0"
LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
RDEPEND=">=www-client/mozilla-launcher-1.44
- >=dev-libs/nss-3.10"
+ >=dev-libs/nss-3.11.3"
S="${WORKDIR}/mozilla"
+# Needed by src_compile() and src_install().
+# Would do in pkg_setup but that loses the export attribute, they
+# become pure shell variables.
+export MOZ_CO_PROJECT=calendar
+export BUILD_OFFICIAL=1
+export MOZILLA_OFFICIAL=1
+
+
linguas() {
local LANG SLANG
for LANG in ${LINGUAS}; do
@@ -110,9 +118,6 @@ src_compile() {
mozconfig_annotate '' --enable-official-branding
fi
- # Add build variables
- mozconfig_build_opts
-
# Finalize and report settings
mozconfig_final