diff options
author | Dan Armak <danarmak@gentoo.org> | 2002-02-18 18:29:19 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2002-02-18 18:29:19 +0000 |
commit | 8c8b9a24f404060d3c5cba12b4096924d90d0e04 (patch) | |
tree | 867c7df72c6babda1d5dd2f32b7b90bbfea02a27 /eclass/kde.eclass | |
parent | mask latest for gnumeric support to work (diff) | |
download | gentoo-2-8c8b9a24f404060d3c5cba12b4096924d90d0e04.tar.gz gentoo-2-8c8b9a24f404060d3c5cba12b4096924d90d0e04.tar.bz2 gentoo-2-8c8b9a24f404060d3c5cba12b4096924d90d0e04.zip |
make kde-i18n eclass more consistent (uses EXPORT_FUNCTIONS as it shuold). minor fix in kde.eclass
(forget what)
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 319aacf292d3..9984d4ec8fdc 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 <danarmak@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.40 2002/02/12 17:35:46 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.41 2002/02/18 18:29:19 danarmak Exp $ # The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here. inherit base ECLASS=kde @@ -38,11 +38,10 @@ kde_src_compile() { # This can happen with e.g. a cvs snapshot if [ ! -f "./configure" ]; then for x in Makefile.cvs admin/Makefile.common; do - if [ -f "$x" ]; then - emake -f $x - break - fi + if [ -f "$x" ] && [ -z "$makefile" ]; then makefile="$x"; fi done + debug-print "$FUNCNAME: configure: generating configure script, running make -f $makefile" + emake -f $makefile [ -f "./configure" ] || die "no configure script found, generation unsuccessful" fi |