From 4405e1f37a696cd0ae9e84b2bf0decd247a2ae37 Mon Sep 17 00:00:00 2001 From: Dan Armak Date: Sat, 7 Sep 2002 20:09:57 +0000 Subject: use autoconf 2.13 for kde-base 3.0.x ebuilds. add KDE_REMOVE_DIR function that removes a subdir of a module and prevents its being compiled. --- eclass/kde.eclass | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'eclass/kde.eclass') diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 8e2951bce7c6..fdb6418e3c1b 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Dan Armak -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.56 2002/08/26 10:57:21 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.57 2002/09/07 20:09:57 danarmak Exp $ # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here. inherit base kde-functions ECLASS=kde @@ -56,7 +56,10 @@ kde_src_compile() { configure) debug-print-section configure debug-print "$FUNCNAME::configure: myconf=$myconf" - + + [ -n "$KDE_REMOVE_DIR" ] && kde_remove_dir $KDE_REMOVE_DIR + + # rebuild configure script, etc # This can happen with e.g. a cvs snapshot if [ ! -f "./configure" ]; then for x in Makefile.cvs admin/Makefile.common; do -- cgit v1.2.3-65-gdbad