summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2003-01-31 17:21:28 +0000
committerDan Armak <danarmak@gentoo.org>2003-01-31 17:21:28 +0000
commitcd60ccaa9347128516e8000801c1cd1a297381a8 (patch)
treebe11410f456678feb8aafe467ff9c6ac7f69ecd6 /eclass
parentUp'd the month delay time from 30 -> 31 days. Bug #14862 (diff)
downloadgentoo-2-cd60ccaa9347128516e8000801c1cd1a297381a8.tar.gz
gentoo-2-cd60ccaa9347128516e8000801c1cd1a297381a8.tar.bz2
gentoo-2-cd60ccaa9347128516e8000801c1cd1a297381a8.zip
now that we have a kde_src_unpack, it makes sense to move the KDE_REMOVE_DIR call there from kde_src_compile:configure
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kde.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index 2cc0fe715e97..f448c7109178 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
# Author Dan Armak <danarmak@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.68 2003/01/30 19:21:56 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.69 2003/01/31 17:21:28 danarmak Exp $
# The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
inherit base kde-functions
ECLASS=kde
@@ -49,6 +49,9 @@ kde_src_unpack() {
touch $UIFILES
fi
+ # shorthand for removing specified subdirectories fom the build process
+ [ -n "$KDE_REMOVE_DIR" ] && kde_remove_dir $KDE_REMOVE_DIR
+
}
kde_src_compile() {
@@ -85,8 +88,6 @@ kde_src_compile() {
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