| 1 | # Copyright 1999-2004 Gentoo Foundation |
1 | # Copyright 1999-2004 Gentoo Foundation |
| 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.75 2006/10/31 17:08:44 allanonjl Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.76 2006/12/07 03:13:25 compnerd Exp $ |
| 4 | |
4 | |
| 5 | # GNOME 2 ECLASS |
5 | # GNOME 2 ECLASS |
| 6 | inherit libtool gnome.org debug fdo-mime eutils |
6 | inherit libtool gnome.org debug fdo-mime eutils |
| 7 | |
7 | |
| 8 | # Extra configure opts passed to econf |
8 | # Extra configure opts passed to econf |
| … | |
… | |
| 45 | if [[ ${GCONF_DEBUG} != 'no' ]] ; then |
45 | if [[ ${GCONF_DEBUG} != 'no' ]] ; then |
| 46 | if use debug ; then |
46 | if use debug ; then |
| 47 | G2CONF="${G2CONF} --enable-debug=yes" |
47 | G2CONF="${G2CONF} --enable-debug=yes" |
| 48 | fi |
48 | fi |
| 49 | fi |
49 | fi |
|
|
50 | |
|
|
51 | # Prevent a QA warning |
|
|
52 | if hasq doc ${IUSE} ; then |
| 50 | G2CONF="${G2CONF} $(use_enable doc gtk-doc)" |
53 | G2CONF="${G2CONF} $(use_enable doc gtk-doc)" |
|
|
54 | fi |
| 51 | |
55 | |
| 52 | # Run libtoolize |
56 | # Run libtoolize |
| 53 | elibtoolize ${ELTCONF} |
57 | elibtoolize ${ELTCONF} |
| 54 | |
58 | |
| 55 | # Do not remove the addwrite. bug #128289 |
59 | # Do not remove the addwrite. bug #128289 |