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

Diff of /eclass/gnome2.eclass

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

Revision 1.55 Revision 1.56
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.55 2005/07/23 14:04:46 foser Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.56 2005/08/01 23:12:15 foser Exp $
4# 4#
5# Authors: 5# Authors:
6# Bruce A. Locke <blocke@shivan.org> 6# Bruce A. Locke <blocke@shivan.org>
7# Spidler <spider@gentoo.org> 7# Spidler <spider@gentoo.org>
8 8
12 12
13G2CONF="" # extra configure opts passed to econf 13G2CONF="" # extra configure opts passed to econf
14ELTCONF="" # extra options passed to elibtoolize 14ELTCONF="" # extra options passed to elibtoolize
15SCROLLKEEPER_UPDATE="1" # whether to run scrollkeeper for this package 15SCROLLKEEPER_UPDATE="1" # whether to run scrollkeeper for this package
16USE_DESTDIR="" # use make DESTDIR=${D} install rather than einstall 16USE_DESTDIR="" # use make DESTDIR=${D} install rather than einstall
17
17IUSE="debug" 18IUSE="debug"
19
18use debug && G2CONF="${G2CONF} --enable-debug=yes" 20use debug && G2CONF="${G2CONF} --enable-debug=yes"
19 21
20DEPEND=">=sys-apps/sed-4" 22DEPEND=">=sys-apps/sed-4"
21 23
22gnome2_src_configure() { 24gnome2_src_configure() {
46 48
47 # we must delay gconf schema installation due to sandbox 49 # we must delay gconf schema installation due to sandbox
48 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1" 50 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
49 51
50 if [ -z "${USE_DESTDIR}" -o "${USE_DESTDIR}" = "0" ]; then 52 if [ -z "${USE_DESTDIR}" -o "${USE_DESTDIR}" = "0" ]; then
51 einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/" "$@" 53 einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/" "$@" || die "einstall failed"
52 else 54 else
53 make DESTDIR=${D} \ 55 make DESTDIR=${D} \
54 "$@" install 56 "$@" install || die "make DESTDIR install failed"
55 fi 57 fi
56 58
57 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL 59 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
58 60
59 # manual document installation 61 # manual document installation

Legend:
Removed from v.1.55  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.20