summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-09-02 20:08:31 +0000
committerFabian Groffen <grobian@gentoo.org>2009-09-02 20:08:31 +0000
commitd8349ec57fe44eff8897f0bf0b7df75aa0367c0c (patch)
treebd56c726a294221b7111440875a6832dda950adf /eclass/toolchain-funcs.eclass
parentunmask some xfce packages and only mask offending USE-flags, since darkside m... (diff)
downloadhistorical-d8349ec57fe44eff8897f0bf0b7df75aa0367c0c.tar.gz
historical-d8349ec57fe44eff8897f0bf0b7df75aa0367c0c.tar.bz2
historical-d8349ec57fe44eff8897f0bf0b7df75aa0367c0c.zip
fix bug #283424 for real
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass
index ef8251cccf65..7b5738b815b4 100644
--- a/eclass/toolchain-funcs.eclass
+++ b/eclass/toolchain-funcs.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.94 2009/09/02 09:00:08 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.95 2009/09/02 20:08:31 grobian Exp $
# @ECLASS: toolchain-funcs.eclass
# @MAINTAINER:
@@ -472,13 +472,13 @@ gen_usr_ldscript() {
# Make sure we don't lose the specific version, so just modify the
# existing install_name
if [[ ! -w "${ED}/${libdir}/${tlib}" ]] ; then
- fperms u+w "${libdir}/${tlib}" # needed to write to it
+ chmod u+w "${ED}${libdir}/${tlib}" # needed to write to it
local nowrite=yes
fi
install_name_tool \
-id "${EPREFIX}"/${libdir}/${tlib} \
"${ED}"/${libdir}/${tlib} || die "install_name_tool failed"
- [[ -n ${nowrite} ]] && fperms u-w "${libdir}/${tlib}"
+ [[ -n ${nowrite} ]] && chmod u-w "${ED}${libdir}/${tlib}"
# Now as we don't use GNU binutils and our linker doesn't
# understand linker scripts, just create a symlink.
pushd "${ED}/usr/${libdir}" > /dev/null