From caa217c8fe184ee02474dbb61328da7a0a552d5a Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Fri, 23 Apr 2010 06:17:28 +0000 Subject: Fix Sandbox Violations on non prefixed arches (Portage version: 2.2_rc67/cvs/Linux x86_64) --- dev-lang/icc/ChangeLog | 5 ++++- dev-lang/icc/icc-11.1.056-r1.ebuild | 9 +++++---- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'dev-lang') diff --git a/dev-lang/icc/ChangeLog b/dev-lang/icc/ChangeLog index 5901929a7b7c..48fef5f1efbb 100644 --- a/dev-lang/icc/ChangeLog +++ b/dev-lang/icc/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-lang/icc # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.77 2010/04/22 09:22:56 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/ChangeLog,v 1.78 2010/04/23 06:17:28 jlec Exp $ + + 23 Apr 2010; Justin Lecher icc-11.1.056-r1.ebuild: + Fix Sandbox Violations on non prefixed arches *icc-11.1.056-r1 (22 Apr 2010) diff --git a/dev-lang/icc/icc-11.1.056-r1.ebuild b/dev-lang/icc/icc-11.1.056-r1.ebuild index 6d5b77b2ad93..231803498fdd 100644 --- a/dev-lang/icc/icc-11.1.056-r1.ebuild +++ b/dev-lang/icc/icc-11.1.056-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.056-r1.ebuild,v 1.1 2010/04/22 09:22:56 jlec Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/icc/icc-11.1.056-r1.ebuild,v 1.2 2010/04/23 06:17:28 jlec Exp $ EAPI="3" @@ -32,6 +32,7 @@ RDEPEND="~virtual/libstdc++-3.3 eclipse? ( >=dev-util/eclipse-sdk-3.4 )" DESTINATION="${EPREFIX#/}/opt/intel/Compiler/${RELEASE}/${BUILD}" +DESTINATION="${DESTINATION#/}" pkg_setup() { CHECKREQS_MEMORY=1024 @@ -72,11 +73,11 @@ link_eclipse_plugins() { dodir /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features for f in "${DESTINATION}/eclipse_support/cdt${CDT_V}/eclipse/plugins"/*; do - dosym "${ROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins + dosym "${EROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/plugins done for f in "${DESTINATION}/eclipse_support/cdt${CDT_V}/eclipse/features"/*; do - dosym "${ROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features + dosym "${EROOT}${f}" /usr/$(get_libdir)/eclipse-${ECLIPSE_V}/features done eend $? } @@ -88,7 +89,7 @@ src_prepare() { # extract the tag function from the original install sed -n \ -e "s|find \$DESTINATION|find ${DESTINATION}|g" \ - -e "s|@\$DESTINATION|@${ROOT}${DESTINATION}|g" \ + -e "s|@\$DESTINATION|@${EROOT}${DESTINATION}|g" \ -e '/^UNTAG_CFG_FILES[[:space:]]*(/,/^}/p' \ pset/install_cc.sh > tag.sh || die # fix world writeable files -- cgit v1.2.3-65-gdbad