summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-09 08:00:27 +0000
committerMike Frysinger <vapier@gentoo.org>2008-11-09 08:00:27 +0000
commit45d1e586f1a8725b2628dd0e5c715f289413781b (patch)
tree533952b783d9dabd4608d4564cdc9acdaabff4fc /sys-apps/sandbox
parentRewrite multilib handling and apply parallel build fix by Jose Luis Rivero #1... (diff)
downloadgentoo-2-45d1e586f1a8725b2628dd0e5c715f289413781b.tar.gz
gentoo-2-45d1e586f1a8725b2628dd0e5c715f289413781b.tar.bz2
gentoo-2-45d1e586f1a8725b2628dd0e5c715f289413781b.zip
Use EBUILD_DEATH_HOOKS #113780 by Petteri Räty.
(Portage version: 2.2_rc13/cvs/Linux 2.6.27.4 x86_64)
Diffstat (limited to 'sys-apps/sandbox')
-rw-r--r--sys-apps/sandbox/ChangeLog6
-rw-r--r--sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild13
2 files changed, 13 insertions, 6 deletions
diff --git a/sys-apps/sandbox/ChangeLog b/sys-apps/sandbox/ChangeLog
index 750318bfc82c..abb2a574a761 100644
--- a/sys-apps/sandbox/ChangeLog
+++ b/sys-apps/sandbox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/sandbox
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.91 2008/11/09 07:52:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/ChangeLog,v 1.92 2008/11/09 08:00:27 vapier Exp $
+
+ 09 Nov 2008; Mike Frysinger <vapier@gentoo.org>
+ sandbox-1.2.20_alpha2-r1.ebuild:
+ Use EBUILD_DEATH_HOOKS #113780 by Petteri Räty.
09 Nov 2008; Mike Frysinger <vapier@gentoo.org>
+files/sandbox-1.2.20_alpha2-parallel.patch,
diff --git a/sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild b/sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild
index 6d21a11a8d71..5a73ccb0ca9c 100644
--- a/sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild
+++ b/sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild,v 1.3 2008/11/09 07:52:36 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/sandbox/sandbox-1.2.20_alpha2-r1.ebuild,v 1.4 2008/11/09 08:00:27 vapier Exp $
#
# don't monkey with this ebuild unless contacting portage devs.
@@ -31,6 +31,12 @@ IUSE=""
DEPEND=""
EMULTILIB_PKG="true"
+has sandbox_death_notice ${EBUILD_DEATH_HOOKS} || EBUILD_DEATH_HOOKS="${EBUILD_DEATH_HOOKS} sandbox_death_notice"
+
+sandbox_death_notice() {
+ ewarn "If configure failed with a 'cannot run C compiled programs' error, try this:"
+ ewarn "FEATURES=-sandbox emerge sandbox"
+}
src_unpack() {
unpack ${A}
@@ -50,14 +56,11 @@ src_unpack() {
src_compile() {
local myconf
-
+die
filter-lfs-flags #90228
has_multilib_profile && myconf="--enable-multilib"
- ewarn "If configure fails with a 'cannot run C compiled programs' error, try this:"
- ewarn "FEATURES=-sandbox emerge sandbox"
-
local OABI=${ABI}
for ABI in $(get_install_abis) ; do
mkdir "${WORKDIR}/build-${ABI}"