summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-01-05 04:11:01 +0000
committerAlec Warner <antarus@gentoo.org>2007-01-05 04:11:01 +0000
commit722ba4bcf2634cd997642dfc04639d36d4b258a8 (patch)
tree074b2c06a5ebc2da42046ff784956d426e3b1515 /eclass/debug.eclass
parentRemove debug.eclass usage. (diff)
downloadgentoo-2-722ba4bcf2634cd997642dfc04639d36d4b258a8.tar.gz
gentoo-2-722ba4bcf2634cd997642dfc04639d36d4b258a8.tar.bz2
gentoo-2-722ba4bcf2634cd997642dfc04639d36d4b258a8.zip
Remove inappropriate global scope warning.
Diffstat (limited to 'eclass/debug.eclass')
-rw-r--r--eclass/debug.eclass10
1 files changed, 8 insertions, 2 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass
index 2df3c3d7cdb9..6e2feacf6cbe 100644
--- a/eclass/debug.eclass
+++ b/eclass/debug.eclass
@@ -1,10 +1,16 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.31 2007/01/05 03:49:00 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.32 2007/01/05 04:11:01 antarus Exp $
# STOP USING THIS ECLASS
# It was broken, and debug useflag should _not_ touch CFLAGS to start with.
# See http://bugs.gentoo.org/show_bug.cgi?id=55708 for info about this
# and http://www.gentoo.org/proj/en/qa/backtraces.xml to learn how to get
# a debug build.
-ewarn "QA Notice: the package ${PF} still uses the broken debug.eclass"
+case "$EBUILD_PHASE" in
+ setup)
+ ewarn "QA Notice: The package ${PF} still uses the broken debug.eclass"
+ ;;
+ *)
+ ;;
+esac