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 | 26fbd355903b499e3ed9d0a4988f01a9ba268daf (patch) | |
tree | 156bf870a28861085d3c68ced8d45d1b69f784d9 /eclass/mozconfig-3.eclass | |
parent | arm stable, bug #308521 (diff) | |
download | gentoo-2-26fbd355903b499e3ed9d0a4988f01a9ba268daf.tar.gz gentoo-2-26fbd355903b499e3ed9d0a4988f01a9ba268daf.tar.bz2 gentoo-2-26fbd355903b499e3ed9d0a4988f01a9ba268daf.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 } |