summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-07-18 13:08:37 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-07-18 13:08:37 +0000
commitf701ad99be40f9f0dcefcaa0cf36915771c7959e (patch)
tree1713a2ea6613828140c992943d7764b84bed4050 /eclass/gnome2.eclass
parentgnome2.eclass works (diff)
downloadhistorical-f701ad99be40f9f0dcefcaa0cf36915771c7959e.tar.gz
historical-f701ad99be40f9f0dcefcaa0cf36915771c7959e.tar.bz2
historical-f701ad99be40f9f0dcefcaa0cf36915771c7959e.zip
conditional debugging now
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass13
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index b69200f33cc0..4022420bbf86 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,9 +1,14 @@
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.18 2002/07/12 15:24:36 danarmak Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.19 2002/07/18 13:08:37 spider Exp $
inherit libtool
+
+if [ -n "$DEBUG" ]
+then
inherit debug
+fi
+
# Authors:
# Bruce A. Locke <blocke@shivan.org>
# Spidler <spidler@gentoo.org>
@@ -11,8 +16,12 @@ inherit debug
# Gnome 2 ECLASS
ECLASS="gnome2"
INHERITED="$INHERITED $ECLASS"
+G2CONF=""
+
+if [ -n "$DEBUG" ]; then
+ G2CONF="${G2CONF} --enable-debug=yes"
+fi
-G2CONF="--enable-debug=yes"
ELTCONF=""
SCROLLKEEPER_UPDATE="0"