summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-06-11 21:27:15 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-06-11 21:27:15 +0000
commitcc4f50d11e56288d9f53a4efc3364b08369741c7 (patch)
tree4c582dbab4af0e2209364aa59c249a4f3cd690a6 /eclass
parentmodularised the debug info changes from gnome2.eclass into its own. its small... (diff)
downloadgentoo-2-cc4f50d11e56288d9f53a4efc3364b08369741c7.tar.gz
gentoo-2-cc4f50d11e56288d9f53a4efc3364b08369741c7.tar.bz2
gentoo-2-cc4f50d11e56288d9f53a4efc3364b08369741c7.zip
updated gnome2 eclass to use debug eclass
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2.eclass22
1 files changed, 4 insertions, 18 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 2ae657951303..fc101eea61dc 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,7 +1,9 @@
# 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.10 2002/06/04 10:10:03 blocke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.11 2002/06/11 21:27:15 spider Exp $
+inherit libtool
+inherit debug
# Authors:
# Bruce A. Locke <blocke@shivan.org>
# Spidler <spidler@gentoo.org>
@@ -9,29 +11,13 @@
# Gnome 2 ECLASS
ECLASS="gnome2"
-# DEBUG for Beta
-# Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
-DEBUG="yes"
-RESTRICT="nostrip"
-
-# Remove omit-frame-pointer as some useless folks define that all over the place. they should be shot with a 16 gauge slingshot at least :)
-# force debug information
-export CFLAGS="${CFLAGS/-fomit-frame-pointer/} -g"
-export CXXFLAGS="${CXXFLAGS/-fomit-frame-pointer/} -g"
-
G2CONF="--enable-debug=yes"
SCROLLKEEPER_UPDATE="0"
gnome2_src_configure() {
-
+ elibtoolize
# doc keyword for gtk-doc
use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
-
- # fix those .la files
- if [ "${LIBTOOL_FIX}" = "1" ]
- then
- libtoolize --copy --force
- fi
econf ${1} ${G2CONF} || die "./configure failure"