From 1ea5693831c7a0fae110858af21b6555590100f3 Mon Sep 17 00:00:00 2001 From: Caleb Tennis Date: Mon, 15 Mar 2004 14:41:58 +0000 Subject: Add an error message so people know that if their sandbox is on and they have changed PORTAGE_TMPDIR then they will need to make changes in order to make this emerge properly --- kde-base/kdebase/ChangeLog | 6 +++++- kde-base/kdebase/kdebase-3.2.1.ebuild | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'kde-base') diff --git a/kde-base/kdebase/ChangeLog b/kde-base/kdebase/ChangeLog index cb5ab8d3a015..37cab1366b99 100644 --- a/kde-base/kdebase/ChangeLog +++ b/kde-base/kdebase/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/kdebase # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.120 2004/03/12 20:44:19 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/ChangeLog,v 1.121 2004/03/15 14:41:58 caleb Exp $ + + 15 Mar 2004; Caleb Tennis kdebase-3.2.1.ebuild: + I'm adding a warning so that people who have their sandbox on and have the + PORTAGE_TMPDIR changed will know that this is a known bug. 12 Mar 2004; Caleb Tennis kdebase-3.1.4.ebuild, kdebase-3.2.0.ebuild, kdebase-3.2.1.ebuild, files/focus-patch.diff, diff --git a/kde-base/kdebase/kdebase-3.2.1.ebuild b/kde-base/kdebase/kdebase-3.2.1.ebuild index 46f07f676c94..94bb9b8decba 100644 --- a/kde-base/kdebase/kdebase-3.2.1.ebuild +++ b/kde-base/kdebase/kdebase-3.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.2.1.ebuild,v 1.4 2004/03/12 20:44:20 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdebase/kdebase-3.2.1.ebuild,v 1.5 2004/03/15 14:41:58 caleb Exp $ inherit kde-dist @@ -24,6 +24,14 @@ RDEPEND="${DEPEND} sys-apps/eject" src_unpack() { + if [ `has sandbox ${FEATURES}` -a ${PORTAGE_TMPDIR} != "/var/tmp" ]; then + eerror "Due to a portage bug, kdebase cannot currently emerge properly" + eerror "in sandbox mode if your PORTAGE_TMPDIR has been changed." + eerror "Please change your PORTAGE_TMPDIR back to /var/tmp or turn" + eerror "off the sandbox for this compilation." + die + fi + kde_src_unpack cd ${S} && aclocal } -- cgit v1.2.3-65-gdbad