summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Armak <danarmak@gentoo.org>2002-10-24 18:41:35 +0000
committerDan Armak <danarmak@gentoo.org>2002-10-24 18:41:35 +0000
commitc5654ee898f3ab5387c79116461745ba0dd062b5 (patch)
treebe4d7c4ab9d125d8e3fd16166a69157fabca46c2 /eclass/kde.eclass
parentfix identation (proper tabs everywhere, alignment) in my eclasses (diff)
downloadgentoo-2-c5654ee898f3ab5387c79116461745ba0dd062b5.tar.gz
gentoo-2-c5654ee898f3ab5387c79116461745ba0dd062b5.tar.bz2
gentoo-2-c5654ee898f3ab5387c79116461745ba0dd062b5.zip
another small whitespace fix
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r--eclass/kde.eclass86
1 files changed, 43 insertions, 43 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass
index ace9db76af2a..8153c2906680 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.60 2002/10/24 18:38:39 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.61 2002/10/24 18:41:35 danarmak Exp $
# The kde eclass is inherited by all kde-* eclasses. Few ebuilds inherit straight from here.
inherit base kde-functions
ECLASS=kde
@@ -44,48 +44,48 @@ kde_src_compile() {
while [ "$1" ]; do
- case $1 in
- myconf)
- debug-print-section myconf
- myconf="$myconf --host=${CHOST} --prefix=${PREFIX} --with-x --enable-mitshm --with-xinerama --with-qt-dir=${QTDIR}"
- # calculate dependencies separately from compiling, enables ccache to work on kde compiles
- myconf="$myconf --disable-dependency-tracking"
- use qtmt && myconf="$myconf --enable-mt"
- [ -n "$DEBUG" ] && myconf="$myconf --enable-debug=full --with-debug" || myconf="$myconf --disable-debug --without-debug"
- debug-print "$FUNCNAME: myconf: set to ${myconf}"
- ;;
- 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
- if [ -f "$x" ] && [ -z "$makefile" ]; then makefile="$x"; fi
- done
- debug-print "$FUNCNAME: configure: generating configure script, running make -f $makefile"
- make -f $makefile
- [ -f "./configure" ] || die "no configure script found, generation unsuccessful"
- fi
-
- export PATH="${KDEDIR}/bin:${PATH}"
-
- cd $S
- ./configure ${myconf} || die "died running ./configure, $FUNCNAME:configure"
- ;;
- make)
- export PATH="${KDEDIR}/bin:${PATH}"
- debug-print-section make
- emake || die "died running emake, $FUNCNAME:make"
- ;;
- all)
- debug-print-section all
- kde_src_compile myconf configure make
- ;;
- esac
+ case $1 in
+ myconf)
+ debug-print-section myconf
+ myconf="$myconf --host=${CHOST} --prefix=${PREFIX} --with-x --enable-mitshm --with-xinerama --with-qt-dir=${QTDIR}"
+ # calculate dependencies separately from compiling, enables ccache to work on kde compiles
+ myconf="$myconf --disable-dependency-tracking"
+ use qtmt && myconf="$myconf --enable-mt"
+ [ -n "$DEBUG" ] && myconf="$myconf --enable-debug=full --with-debug" || myconf="$myconf --disable-debug --without-debug"
+ debug-print "$FUNCNAME: myconf: set to ${myconf}"
+ ;;
+ 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
+ if [ -f "$x" ] && [ -z "$makefile" ]; then makefile="$x"; fi
+ done
+ debug-print "$FUNCNAME: configure: generating configure script, running make -f $makefile"
+ make -f $makefile
+ [ -f "./configure" ] || die "no configure script found, generation unsuccessful"
+ fi
+
+ export PATH="${KDEDIR}/bin:${PATH}"
+
+ cd $S
+ ./configure ${myconf} || die "died running ./configure, $FUNCNAME:configure"
+ ;;
+ make)
+ export PATH="${KDEDIR}/bin:${PATH}"
+ debug-print-section make
+ emake || die "died running emake, $FUNCNAME:make"
+ ;;
+ all)
+ debug-print-section all
+ kde_src_compile myconf configure make
+ ;;
+ esac
shift
done