From 975902e589effb2bf5b3355fba521f0d823e0c81 Mon Sep 17 00:00:00 2001
From: Dan Armak <danarmak@gentoo.org>
Date: Mon, 1 Oct 2001 13:54:38 +0000
Subject: eclasses v3.1 added debug.eclass and fixed many bugs

---
 eclass/kde.eclass | 24 +++++++++++++-----------
 1 file changed, 13 insertions(+), 11 deletions(-)

(limited to 'eclass/kde.eclass')

diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index e464244ca43f..98f2626df4c3 100644
--- a/eclass/kde.eclass
+++ b/eclass/kde.eclass
@@ -1,9 +1,11 @@
 # 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/kde.eclass,v 1.8 2001/10/01 11:04:22 danarmak Exp $
+# 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>Xx
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.9 2001/10/01 13:54:38 danarmak Exp $
 # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
-. /usr/portage/eclass/inherit.eclass || die
 inherit autoconf base || die
 ECLASS=kde
 
@@ -16,28 +18,28 @@ RDEPEND="$RDEPEND kde-base/kdelibs"
 
 kde_src_compile() {
 
-    echo "in kde_src_compile, 1st parameter is $1"
+    debug-print-function kde_src_compile $*
     [ -z "$1" ] && kde_src_compile all
 
     while [ "$1" ]; do
 
 	case $1 in
 		myconf)
-			echo "in kde_src_compile, action is myconf"
+			debug-print-section myconf
 			use qtmt 	&& myconf="$myconf --enable-mt"
 			use objprelink	&& myconf="$myconf --enable-objprelink" || myconf="$myconf --disable-objprelink"
 			;;
 		configure)
-			echo "in kde_src_compile, action is configure"
+			debug-print-section configure
 			./configure --host=${CHOST} --with-x \
 			${myconf} --with-xinerama || die
 			;;
 		make)
-			echo "in kde_src_compile, action is make"
+			debug-print-section make
 			make || die
 			;;
 		all)
-			echo "in kde_src_compile, action is all"
+			debug-print-section all
 			kde_src_compile myconf configure make
 			;;
 	esac
@@ -49,22 +51,22 @@ kde_src_compile() {
 
 kde_src_install() {
 
-	echo "in kde-base_src_compile, 1st parameter is $1"
+	debug-print-function kde_src_install $*
     [ -z "$1" ] && kde_src_install all
 
     while [ "$1" ]; do
 
 	case $1 in
 	    make)
-			echo "in kde_src_install, action is make"
+			debug-print-section make
 			make install DESTDIR=${D} || die
 			;;
 	    dodoc)
-			echo "in kde_src_install, action is dodoc"
+			debug-print-section dodoc
 			dodoc AUTHORS ChangeLog README*
 			;;
 	    all)
-			echo "in kde_src_install, action is all"
+			debug-print-section all
 			kde_src_install make dodoc
 			;;
 	esac
-- 
cgit v1.2.3-65-gdbad