diff options
author | Dan Armak <danarmak@gentoo.org> | 2003-04-02 10:46:10 +0000 |
---|---|---|
committer | Dan Armak <danarmak@gentoo.org> | 2003-04-02 10:46:10 +0000 |
commit | 4e435f21970b6fa68a7be7816e92a78e6814aa6f (patch) | |
tree | abec28948a8c9ae30a87eb0d0f355dbeba9342f3 /eclass/kde.eclass | |
parent | added changelog (diff) | |
download | historical-4e435f21970b6fa68a7be7816e92a78e6814aa6f.tar.gz historical-4e435f21970b6fa68a7be7816e92a78e6814aa6f.tar.bz2 historical-4e435f21970b6fa68a7be7816e92a78e6814aa6f.zip |
read new use flag debug as well as $DEBUG
Diffstat (limited to 'eclass/kde.eclass')
-rw-r--r-- | eclass/kde.eclass | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 9359e329ed73..762159ed4ae7 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.76 2003/03/15 17:38:29 hannes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.77 2003/04/02 10:46:10 danarmak Exp $ # # Author Dan Armak <danarmak@gentoo.org> # @@ -82,7 +82,12 @@ kde_src_compile() { 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" - [ -n "$DEBUG" ] && myconf="$myconf --enable-debug=full --with-debug" || myconf="$myconf --disable-debug --without-debug" + # use debug is replacing $DEBUG + if [ -n "$DEBUG" -o -n "`use debug`" ]; then + myconf="$myconf --enable-debug=full --with-debug" + else + myconf="$myconf --disable-debug --without-debug" + fi debug-print "$FUNCNAME: myconf: set to ${myconf}" ;; configure) |