From e6c8df1ca6b21cb53bf295dbcbeb14df9e5e8668 Mon Sep 17 00:00:00 2001 From: Caleb Tennis Date: Wed, 5 May 2004 14:48:35 +0000 Subject: Add unsermake support --- eclass/kde.eclass | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'eclass') diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 49cd2771b274..470bc17cce70 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.95 2004/04/16 00:27:32 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.96 2004/05/05 14:48:35 caleb Exp $ # # Author Dan Armak # @@ -73,6 +73,7 @@ kde_src_compile() { addwrite "${QTDIR}/etc/settings" # things that should access the real homedir [ -d "$REALHOME/.ccache" ] && ln -sf "$REALHOME/.ccache" "$HOME/" + [ -n "$UNSERMAKE" ] && addwrite "/usr/kde/unsermake" while [ "$1" ]; do @@ -81,7 +82,7 @@ kde_src_compile() { debug-print-section myconf myconf="$myconf --host=${CHOST} --prefix=${PREFIX} --with-x --enable-mitshm --with-xinerama --with-qt-dir=${QTDIR} --enable-mt" # calculate dependencies separately from compiling, enables ccache to work on kde compiles - myconf="$myconf --disable-dependency-tracking" + [ -z "$UNSERMAKE" ] && myconf="$myconf --disable-dependency-tracking" if [ `use debug` ]; then myconf="$myconf --enable-debug=full --with-debug" else @@ -95,7 +96,7 @@ kde_src_compile() { # rebuild configure script, etc # This can happen with e.g. a cvs snapshot - if [ ! -f "./configure" ]; then + if [ ! -f "./configure" ] || [ -n "$UNSERMAKE" ]; then for x in Makefile.cvs admin/Makefile.common; do if [ -f "$x" ] && [ -z "$makefile" ]; then makefile="$x"; fi done -- cgit v1.2.3-65-gdbad