summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarinus Schraal <foser@gentoo.org>2005-08-01 23:12:15 +0000
committerMarinus Schraal <foser@gentoo.org>2005-08-01 23:12:15 +0000
commit80fa2d9401284e45fd86977c16075beaf1deef6c (patch)
treecdbcdd94f65dd900ff722d5227f2e00a7765ece7 /eclass/gnome2.eclass
parentRemoving old ebuild (diff)
downloadhistorical-80fa2d9401284e45fd86977c16075beaf1deef6c.tar.gz
historical-80fa2d9401284e45fd86977c16075beaf1deef6c.tar.bz2
historical-80fa2d9401284e45fd86977c16075beaf1deef6c.zip
die (#97761)
Diffstat (limited to 'eclass/gnome2.eclass')
-rw-r--r--eclass/gnome2.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index cf542f9c6c4f..138aa1b4ce43 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.55 2005/07/23 14:04:46 foser Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnome2.eclass,v 1.56 2005/08/01 23:12:15 foser Exp $
#
# Authors:
# Bruce A. Locke <blocke@shivan.org>
@@ -14,7 +14,9 @@ G2CONF="" # extra configure opts passed to econf
ELTCONF="" # extra options passed to elibtoolize
SCROLLKEEPER_UPDATE="1" # whether to run scrollkeeper for this package
USE_DESTDIR="" # use make DESTDIR=${D} install rather than einstall
+
IUSE="debug"
+
use debug && G2CONF="${G2CONF} --enable-debug=yes"
DEPEND=">=sys-apps/sed-4"
@@ -48,10 +50,10 @@ gnome2_src_install() {
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL="1"
if [ -z "${USE_DESTDIR}" -o "${USE_DESTDIR}" = "0" ]; then
- einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/" "$@"
+ einstall "scrollkeeper_localstate_dir=${D}/var/lib/scrollkeeper/" "$@" || die "einstall failed"
else
make DESTDIR=${D} \
- "$@" install
+ "$@" install || die "make DESTDIR install failed"
fi
unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL