summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAron Griffis <agriffis@gentoo.org>2004-08-09 15:36:12 +0000
committerAron Griffis <agriffis@gentoo.org>2004-08-09 15:36:12 +0000
commitd27cd2f2c18f4e46ab4e6581208cd3b61cb60ea7 (patch)
tree229a60d1f04d1d856c2dff5c56c3de365d890ed1 /eclass/mozilla.eclass
parentfix digest (diff)
downloadgentoo-2-d27cd2f2c18f4e46ab4e6581208cd3b61cb60ea7.tar.gz
gentoo-2-d27cd2f2c18f4e46ab4e6581208cd3b61cb60ea7.tar.bz2
gentoo-2-d27cd2f2c18f4e46ab4e6581208cd3b61cb60ea7.zip
restrict mozsvg to mozilla since it doesn't build with firefox-0.9.3 or thunderbird-0.7.3 #59827
Diffstat (limited to 'eclass/mozilla.eclass')
-rw-r--r--eclass/mozilla.eclass35
1 files changed, 18 insertions, 17 deletions
diff --git a/eclass/mozilla.eclass b/eclass/mozilla.eclass
index 6e0d03542eaa..994a7efa47ad 100644
--- a/eclass/mozilla.eclass
+++ b/eclass/mozilla.eclass
@@ -1,16 +1,17 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozilla.eclass,v 1.8 2004/08/09 02:15:19 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozilla.eclass,v 1.9 2004/08/09 15:36:12 agriffis Exp $
ECLASS=mozilla
INHERITED="$INHERITED $ECLASS"
IUSE="java gnome gtk2 ldap debug xinerama xprint"
# Internal USE flags that I do not really want to advertise ...
-IUSE="${IUSE} mozsvg moznoxft"
-if [[ ${PN} == mozilla || ${PN} == mozilla-firefox ]]; then
+IUSE="${IUSE} moznoxft"
+[[ ${PN} == mozilla || ${PN} == mozilla-firefox ]] && \
IUSE="${IUSE} mozdevelop mozplaintext mozxmlterm"
-fi
+[[ ${PN} == mozilla ]] && \
+ IUSE="${IUSE} mozsvg"
RDEPEND="virtual/x11
!moznoxft ( virtual/xft )
@@ -225,19 +226,8 @@ mozilla_conf() {
# Some browser-only flags
if ${MOZ} || ${FF}; then
myconf="${myconf} $(mozilla_use_enable java oji)"
- # Re-enabled per bug 24522 (28 Apr 2004 agriffis)
- if use mozsvg; then
- export MOZ_INTERNAL_LIBART_LGPL=1
- mozilla_annotate "+mozsvg on ${PN}" \
- --enable-svg --enable-svg-renderer-libart
- else
- mozilla_annotate "-mozsvg" \
- --disable-svg
- fi
else
- mozilla_annotate "n/a on ${PN}" \
- --disable-oji \
- --disable-svg
+ mozilla_annotate "n/a on ${PN}" --disable-oji
fi
# Some mailer-only flags
@@ -260,8 +250,19 @@ mozilla_conf() {
if use moznocompose && use moznomail; then
mozilla_annotate "+moznocompose +moznomail" --disable-composer
fi
+ # Re-enabled per bug 24522 (28 Apr 2004 agriffis)
+ if use mozsvg; then
+ export MOZ_INTERNAL_LIBART_LGPL=1
+ mozilla_annotate "+mozsvg on ${PN}" \
+ --enable-svg --enable-svg-renderer-libart
+ else
+ mozilla_annotate "-mozsvg" \
+ --disable-svg
+ fi
else
- mozilla_annotate "n/a on ${PN}" --disable-calendar
+ mozilla_annotate "n/a on ${PN}" \
+ --disable-calendar \
+ --disable-svg
fi
# Setup extensions.