summaryrefslogtreecommitdiff
path: root/eclass
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
commit9fd6de20e14e7db02f221a5a6d586e12525619e2 (patch)
treed84ae10376a532b3862b7f8b823ae86b79a1b719 /eclass
parentRemoving old ebuild (diff)
downloadgentoo-2-9fd6de20e14e7db02f221a5a6d586e12525619e2.tar.gz
gentoo-2-9fd6de20e14e7db02f221a5a6d586e12525619e2.tar.bz2
gentoo-2-9fd6de20e14e7db02f221a5a6d586e12525619e2.zip
die (#97761)
Diffstat (limited to '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