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: Sat, 29 Dec 2012 06:41:33
Message-Id: 20121229064115.85D582171D@flycatcher.gentoo.org
1 vapier 12/12/29 06:41:15
2
3 Modified: toolchain.eclass
4 Log:
5 only mess with libffi stuff with gcc-3.1+
6
7 Revision Changes Path
8 1.564 eclass/toolchain.eclass
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.564&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?rev=1.564&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/toolchain.eclass?r1=1.563&r2=1.564
13
14 Index: toolchain.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v
17 retrieving revision 1.563
18 retrieving revision 1.564
19 diff -u -r1.563 -r1.564
20 --- toolchain.eclass 29 Dec 2012 06:08:51 -0000 1.563
21 +++ toolchain.eclass 29 Dec 2012 06:41:15 -0000 1.564
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.563 2012/12/29 06:08:51 vapier Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.564 2012/12/29 06:41:15 vapier Exp $
27 #
28 # Maintainer: Toolchain Ninjas <toolchain@g.o>
29
30 @@ -779,8 +779,10 @@
31 fi
32
33 # Prevent libffi from being installed
34 - sed -i -e 's/\(install.*:\) install-.*recursive/\1/' "${S}"/libffi/Makefile.in
35 - sed -i -e 's/\(install-data-am:\).*/\1/' "${S}"/libffi/include/Makefile.in
36 + if tc_version_is_at_least 3.1 ; then
37 + sed -i -e 's/\(install.*:\) install-.*recursive/\1/' "${S}"/libffi/Makefile.in || die
38 + sed -i -e 's/\(install-data-am:\).*/\1/' "${S}"/libffi/include/Makefile.in || die
39 + fi
40
41 # Fixup libtool to correctly generate .la files with portage
42 cd "${S}"