diff options
author | Ryan Hill <dirtyepic@gentoo.org> | 2007-01-05 03:02:02 +0000 |
---|---|---|
committer | Ryan Hill <dirtyepic@gentoo.org> | 2007-01-05 03:02:02 +0000 |
commit | 4a5616a1ccd672433c447d7bc12d98ecc691cd1f (patch) | |
tree | 66806cc9c34b3f1bd91aedd24991e19f20e8ac1e /eclass/debug.eclass | |
parent | New version, partially fixes reboot/reload issues (diff) | |
download | gentoo-2-4a5616a1ccd672433c447d7bc12d98ecc691cd1f.tar.gz gentoo-2-4a5616a1ccd672433c447d7bc12d98ecc691cd1f.tar.bz2 gentoo-2-4a5616a1ccd672433c447d7bc12d98ecc691cd1f.zip |
Fix ewarn in global scope in debug.eclass.
Diffstat (limited to 'eclass/debug.eclass')
-rw-r--r-- | eclass/debug.eclass | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass index b391ed62a8dc..f415217c184f 100644 --- a/eclass/debug.eclass +++ b/eclass/debug.eclass @@ -1,10 +1,17 @@ # 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.28 2007/01/04 23:31:14 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.29 2007/01/05 03:02:02 dirtyepic 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 "The package ${PF} still uses the broken debug.eclass" + +case "$EBUILD_PHASE" in + setup) + ewarn "The package ${PF} still uses the broken debug.eclass" + ;; + *) + ;; +esac |