diff options
author | Jory Pratt <anarchy@gentoo.org> | 2010-04-18 20:46:32 +0000 |
---|---|---|
committer | Jory Pratt <anarchy@gentoo.org> | 2010-04-18 20:46:32 +0000 |
commit | c8d5525126e191f6888e10bb0e5fc1edcee5ecfc (patch) | |
tree | f020df40b0c00343abe02c623fbe3c86b8fb0795 /eclass/mozconfig-3.eclass | |
parent | arm stable, bug #308521 (diff) | |
download | historical-c8d5525126e191f6888e10bb0e5fc1edcee5ecfc.tar.gz historical-c8d5525126e191f6888e10bb0e5fc1edcee5ecfc.tar.bz2 historical-c8d5525126e191f6888e10bb0e5fc1edcee5ecfc.zip |
use mozconfig_use_enable where appropriate
Diffstat (limited to 'eclass/mozconfig-3.eclass')
-rw-r--r-- | eclass/mozconfig-3.eclass | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/eclass/mozconfig-3.eclass b/eclass/mozconfig-3.eclass index 0aff33b65480..ce35921ebe29 100644 --- a/eclass/mozconfig-3.eclass +++ b/eclass/mozconfig-3.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v 1.8 2010/01/27 12:06:22 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v 1.9 2010/04/18 20:46:32 anarchy Exp $ # # mozconfig.eclass: the new mozilla.eclass @@ -27,9 +27,6 @@ RDEPEND="x11-libs/libXrender startup-notification? ( >=x11-libs/startup-notification-0.8 ) !<x11-base/xorg-x11-6.7.0-r2 >=x11-libs/cairo-1.6.0" - #According to bugs #18573, #204520, and couple of others in Mozilla's - #bugzilla. libmng and mng support has been removed in 2003. - DEPEND="${RDEPEND}" @@ -40,9 +37,7 @@ mozconfig_config() { mozconfig_annotate -thebes --enable-default-toolkit=gtk2 fi - if ! use dbus; then - mozconfig_annotate '' --disable-dbus - fi + mozconfig_use_enable dbus mozconfig_use_enable startup-notification # if use debug; then @@ -64,8 +59,6 @@ mozconfig_config() { fi # fi - if ! use gnome; then - mozconfig_annotate -gnome --disable-gnomevfs - mozconfig_annotate -gnome --disable-gnomeui - fi + mozconfig_use_enable gnome gnomevfs + mozconfig_use_enable gnome gnomeui } |