Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: toolchain.eclass
Date: Fri, 02 Nov 2012 20:18:29
Message-Id: 20121102201811.450F821600@flycatcher.gentoo.org
1 vapier 12/11/02 20:18:11
2
3 Modified: toolchain.eclass
4 Log:
5 do not sed libstdc++ python dir with gcc-4.7+ since the issue has been fixed in those versions
6
7 Revision Changes Path
8 1.553 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.553&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.553&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.552&r2=1.553
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.552
18 retrieving revision 1.553
19 diff -u -r1.552 -r1.553
20 --- toolchain.eclass 1 Oct 2012 05:03:17 -0000 1.552
21 +++ toolchain.eclass 2 Nov 2012 20:18:11 -0000 1.553
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2012 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.552 2012/10/01 05:03:17 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.553 2012/11/02 20:18:11 vapier Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -711,7 +711,7 @@
31
32 # install the libstdc++ python into the right location
33 # http://gcc.gnu.org/PR51368
34 - if tc_version_is_at_least 4.5 ; then
35 + if tc_version_is_at_least 4.5 && ! tc_version_is_at_least 4.7 ; then
36 sed -i \
37 '/^pythondir =/s:=.*:= $(datadir)/python:' \
38 "${S}"/libstdc++-v3/python/Makefile.in || die