From: | "Michael Haubenwallner (haubi)" <haubi@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in profiles/prefix/linux/x86: profile.bashrc |
Date: | Tue, 29 Mar 2011 20:19:26 |
Message-Id: | 20110329201916.03E8420057@flycatcher.gentoo.org |
1 | haubi 11/03/29 20:19:15 |
2 | |
3 | Added: profile.bashrc |
4 | Log: |
5 | +linux/x86/profile.bashrc: set SYMLINK_LIB=yes for sys-devel/binutils when needed (#360197) |
6 | |
7 | Revision Changes Path |
8 | 1.1 profiles/prefix/linux/x86/profile.bashrc |
9 | |
10 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/prefix/linux/x86/profile.bashrc?rev=1.1&view=markup |
11 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/profiles/prefix/linux/x86/profile.bashrc?rev=1.1&content-type=text/plain |
12 | |
13 | Index: profile.bashrc |
14 | =================================================================== |
15 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
16 | # $Id: profile.bashrc,v 1.1 2011/03/29 20:19:15 haubi Exp $ |
17 | |
18 | # When x86-linux runs on an amd64 host having /lib32, |
19 | # we need to have binutils to search there too (#360197). |
20 | # The patches to do so are applied upon SYMLINK_LIB=yes, |
21 | # needed when /lib32 is (a symlink to) an existing directory. |
22 | if [[ ${CATEGORY}/${PN} = sys-devel/binutils ]] \ |
23 | && [[ ${EBUILD_PHASE} == setup ]] \ |
24 | && [[ -d ${ROOT}lib32/. ]] \ |
25 | ; then |
26 | export SYMLINK_LIB=yes |
27 | fi |