summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-07 00:41:55 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-01-07 00:41:55 +0000
commit0cd2d3b92871962714aa0cbc85d18dbbcb66621c (patch)
tree7c711d12363b6e6c310b55280d32b324ea05d94f /eclass
parentStable on Alpha + IA64. (diff)
downloadgentoo-2-0cd2d3b92871962714aa0cbc85d18dbbcb66621c.tar.gz
gentoo-2-0cd2d3b92871962714aa0cbc85d18dbbcb66621c.tar.bz2
gentoo-2-0cd2d3b92871962714aa0cbc85d18dbbcb66621c.zip
Don't throw ewarns during prerm and postrm phases, as they might simply come out of the package being unmerged (or upgraded) that are picking an old saved eclass.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/debug.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass
index f72200577179..9c0512758f06 100644
--- a/eclass/debug.eclass
+++ b/eclass/debug.eclass
@@ -1,10 +1,12 @@
# 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.34 2007/01/06 00:47:26 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.35 2007/01/07 00:41:55 flameeyes 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 ${CATEGORY}/${PF} still uses the broken debug.eclass"
+if [[ ${EBUILD_PHASE} != *rm ]]; then
+ ewarn "QA Notice: The package ${CATEGORY}/${PF} still uses the broken debug.eclass"
+fi