diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-26 12:10:14 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-03-26 12:10:14 +0000 |
commit | 72cd62be4993a687a2e4829bd2dff2c551f8dd41 (patch) | |
tree | 17a921724b6d018a0f70a98817cbcfd78ed382a7 /eclass | |
parent | Make sure USE debug is in IUSE. (diff) | |
download | historical-72cd62be4993a687a2e4829bd2dff2c551f8dd41.tar.gz historical-72cd62be4993a687a2e4829bd2dff2c551f8dd41.tar.bz2 historical-72cd62be4993a687a2e4829bd2dff2c551f8dd41.zip |
Use XFCONF_FULL_DEBUG instead of polluting I_KNOW_WHAT_I_AM_DOING.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/xfconf.eclass | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass index cbfb654a8399..5c84f987d947 100644 --- a/eclass/xfconf.eclass +++ b/eclass/xfconf.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.12 2010/03/26 11:59:08 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.13 2010/03/26 12:10:14 ssuominen Exp $ # @ECLASS: xfconf.eclass # @MAINTAINER: @@ -65,17 +65,17 @@ EXPORT_FUNCTIONS ${XFCONF_EXPF} # @FUNCTION: xfconf_use_debug # @RETURN: # Return --enable-debug, null, --enable-debug=full or --disable-debug based on -# I_KNOW_WHAT_I_AM_DOING variable and USE debug +# XFCONF_FULL_DEBUG variable and USE debug xfconf_use_debug() { if has debug ${IUSE}; then if use debug; then - if [[ -n $I_KNOW_WHAT_I_AM_DOING ]]; then + if [[ -n $XFCONF_FULL_DEBUG ]]; then echo "--enable-debug=full" else echo "--enable-debug" fi else - if [[ -n $I_KNOW_WHAT_I_AM_DOING ]]; then + if [[ -n $XFCONF_FULL_DEBUG ]]; then echo "--disable-debug" fi fi |