/[gentoo-x86]/eclass/gnome2.eclass
Gentoo

Diff of /eclass/gnome2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.10 Revision 1.11
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.10 2002/06/04 10:10:03 blocke Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.11 2002/06/11 21:27:15 spider Exp $
4 4
5inherit libtool
6inherit debug
5# Authors: 7# Authors:
6# Bruce A. Locke <blocke@shivan.org> 8# Bruce A. Locke <blocke@shivan.org>
7# Spidler <spidler@gentoo.org> 9# Spidler <spidler@gentoo.org>
8 10
9# Gnome 2 ECLASS 11# Gnome 2 ECLASS
10ECLASS="gnome2" 12ECLASS="gnome2"
11 13
12# DEBUG for Beta
13# Do _NOT_ strip symbols in the build! Need both lines for Portage 1.8.9+
14DEBUG="yes"
15RESTRICT="nostrip"
16
17# 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 :)
18# force debug information
19export CFLAGS="${CFLAGS/-fomit-frame-pointer/} -g"
20export CXXFLAGS="${CXXFLAGS/-fomit-frame-pointer/} -g"
21
22G2CONF="--enable-debug=yes" 14G2CONF="--enable-debug=yes"
23SCROLLKEEPER_UPDATE="0" 15SCROLLKEEPER_UPDATE="0"
24 16
25gnome2_src_configure() { 17gnome2_src_configure() {
26 18 elibtoolize
27 # doc keyword for gtk-doc 19 # doc keyword for gtk-doc
28 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc" 20 use doc && G2CONF="${G2CONF} --enable-gtk-doc" || G2CONF="${G2CONF} --disable-gtk-doc"
29
30 # fix those .la files
31 if [ "${LIBTOOL_FIX}" = "1" ]
32 then
33 libtoolize --copy --force
34 fi
35 21
36 econf ${1} ${G2CONF} || die "./configure failure" 22 econf ${1} ${G2CONF} || die "./configure failure"
37 23
38} 24}
39 25

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

  ViewVC Help
Powered by ViewVC 1.1.20