From a189e5d579b173d3022e34b2933ccd6b9729033d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Diego=20Elio=20Petten=C3=B2?= Date: Sun, 7 Jan 2007 00:41:55 +0000 Subject: [PATCH] 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. --- eclass/debug.eclass | 6 ++++-- 1 file 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 -- 2.26.2