diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-05-21 18:14:11 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-05-21 18:14:11 +0000 |
commit | d9cc0dd1bd463667476e3089c8575865e555aba8 (patch) | |
tree | 920cb41730b4392e357310e93cc72ef22e2b1def /eclass/debug.eclass | |
parent | Better code size calculation (diff) | |
download | gentoo-2-d9cc0dd1bd463667476e3089c8575865e555aba8.tar.gz gentoo-2-d9cc0dd1bd463667476e3089c8575865e555aba8.tar.bz2 gentoo-2-d9cc0dd1bd463667476e3089c8575865e555aba8.zip |
eclass update - removing old eclasses (debug,inherit,functions) for which support is in potage proper
(>=1.8.9_pre32). this breaks support for older portages i.e. profile 1.0_rc6 as warned on themailing
lists 2 weeks ago. the only change to all these ebuilds in the long list is removal of the redundant
". /usr/portage/eclass/inherit.eclass || die" line.
Diffstat (limited to 'eclass/debug.eclass')
-rw-r--r-- | eclass/debug.eclass | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/eclass/debug.eclass b/eclass/debug.eclass deleted file mode 100644 index b7bfe95d09c2..000000000000 --- a/eclass/debug.eclass +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Author Dan Armak <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/debug.eclass,v 1.13 2002/03/27 22:33:53 danarmak Exp $ -# This provides functions for verbose output for debugging - -# Moved into ebuild.sh in portage-1.8.9_pre32. Here for compatibility. - -if [ -z "$COMPAT" ]; then - - einfo "!!! Error: debug.eclass sourced, but compatibility mode not set. This ebuild needs -to be updated, please report." - exit 1 - -else - - # redirect output, unset to disable. use e.g. /dev/stdout to write into a file/device. - # use special setting "on" to echo the output - unlike above, doesn't violate sandbox. - # the test here is to enable people to export DEBUG_OUTPUT before running ebuild/emerge - # so that they won't have to edit debug.eclass anymore - #[ -n "$ECLASS_DEBUG_OUTPUT" ] || ECLASS_DEBUG_OUTPUT="on" - - # used internally for output - # redirects output wherever's needed - # in the future might use e* from /etc/init.d/functions.sh if i feel like it - debug-print() { - - while [ "$1" ]; do - - # extra user-configurable targets - if [ "$ECLASS_DEBUG_OUTPUT" == "on" ]; then - echo "debug: $1" - elif [ -n "$ECLASS_DEBUG_OUTPUT" ]; then - echo "debug: $1" >> $ECLASS_DEBUG_OUTPUT - fi - - # default target - [ -d "$BUILD_PREFIX/$P/temp" ] && echo $1 >> ${T}/eclass-debug.log - - shift - done - - } - - # std message functions - - debug-print-function() { - - str="$1: entering function" - shift - debug-print "$str, parameters: $*" - - } - - debug-print-section() { - - debug-print "now in section $*" - - } - -fi |