Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain-funcs.eclass
Date: Wed, 02 Sep 2009 14:59:52
Message-Id: E1Miw87-00088r-OK@stork.gentoo.org
1 grobian 09/09/02 20:08:31
2
3 Modified: toolchain-funcs.eclass
4 Log:
5 fix bug #283424 for real
6
7 Revision Changes Path
8 1.95 eclass/toolchain-funcs.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.95&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?rev=1.95&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/toolchain-funcs.eclass?r1=1.94&r2=1.95
13
14 Index: toolchain-funcs.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v
17 retrieving revision 1.94
18 retrieving revision 1.95
19 diff -u -r1.94 -r1.95
20 --- toolchain-funcs.eclass 2 Sep 2009 09:00:08 -0000 1.94
21 +++ toolchain-funcs.eclass 2 Sep 2009 20:08:31 -0000 1.95
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.94 2009/09/02 09:00:08 grobian Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.95 2009/09/02 20:08:31 grobian Exp $
27
28 # @ECLASS: toolchain-funcs.eclass
29 # @MAINTAINER:
30 @@ -472,13 +472,13 @@
31 # Make sure we don't lose the specific version, so just modify the
32 # existing install_name
33 if [[ ! -w "${ED}/${libdir}/${tlib}" ]] ; then
34 - fperms u+w "${libdir}/${tlib}" # needed to write to it
35 + chmod u+w "${ED}${libdir}/${tlib}" # needed to write to it
36 local nowrite=yes
37 fi
38 install_name_tool \
39 -id "${EPREFIX}"/${libdir}/${tlib} \
40 "${ED}"/${libdir}/${tlib} || die "install_name_tool failed"
41 - [[ -n ${nowrite} ]] && fperms u-w "${libdir}/${tlib}"
42 + [[ -n ${nowrite} ]] && chmod u-w "${ED}${libdir}/${tlib}"
43 # Now as we don't use GNU binutils and our linker doesn't
44 # understand linker scripts, just create a symlink.
45 pushd "${ED}/usr/${libdir}" > /dev/null