From 72cd62be4993a687a2e4829bd2dff2c551f8dd41 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Fri, 26 Mar 2010 12:10:14 +0000 Subject: [PATCH] Use XFCONF_FULL_DEBUG instead of polluting I_KNOW_WHAT_I_AM_DOING. --- eclass/xfconf.eclass | 8 ++++---- 1 file 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 -- 2.26.2