From 80fa2d9401284e45fd86977c16075beaf1deef6c Mon Sep 17 00:00:00 2001 From: Marinus Schraal Date: Mon, 1 Aug 2005 23:12:15 +0000 Subject: die (#97761) --- eclass/gnome2.eclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'eclass/gnome2.eclass') 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 @@ -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 -- cgit v1.2.3-65-gdbad