1 |
vapier 12/02/29 20:16:56 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gcc-config-1.5.1.ebuild |
5 |
Log: |
6 |
Always sort runtime ld.so.conf paths and the install libgcc_s libraries based on version rather than defaulting to the selected profile #297685 by Scott McMurray. Fix gcc-config -E handling of GCC_SPECS #375091 by Bertrand Jacquin. |
7 |
|
8 |
(Portage version: 2.2.0_alpha86/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.199 sys-devel/gcc-config/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc-config/ChangeLog?rev=1.199&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc-config/ChangeLog?rev=1.199&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc-config/ChangeLog?r1=1.198&r2=1.199 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v |
20 |
retrieving revision 1.198 |
21 |
retrieving revision 1.199 |
22 |
diff -u -r1.198 -r1.199 |
23 |
--- ChangeLog 7 Dec 2011 05:42:19 -0000 1.198 |
24 |
+++ ChangeLog 29 Feb 2012 20:16:56 -0000 1.199 |
25 |
@@ -1,6 +1,15 @@ |
26 |
# ChangeLog for sys-devel/gcc-config |
27 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v 1.198 2011/12/07 05:42:19 vapier Exp $ |
29 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/ChangeLog,v 1.199 2012/02/29 20:16:56 vapier Exp $ |
31 |
+ |
32 |
+*gcc-config-1.5.1 (29 Feb 2012) |
33 |
+ |
34 |
+ 29 Feb 2012; Mike Frysinger <vapier@g.o> +files/gcc-config-1.5.1, |
35 |
+ +gcc-config-1.5.1.ebuild: |
36 |
+ Always sort runtime ld.so.conf paths and the install libgcc_s libraries based |
37 |
+ on version rather than defaulting to the selected profile #297685 by Scott |
38 |
+ McMurray. Fix gcc-config -E handling of GCC_SPECS #375091 by Bertrand |
39 |
+ Jacquin. |
40 |
|
41 |
07 Dec 2011; Mike Frysinger <vapier@g.o> files/gcc-config-1.4.1, |
42 |
files/gcc-config-1.5: |
43 |
|
44 |
|
45 |
|
46 |
1.1 sys-devel/gcc-config/gcc-config-1.5.1.ebuild |
47 |
|
48 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc-config/gcc-config-1.5.1.ebuild?rev=1.1&view=markup |
49 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/gcc-config/gcc-config-1.5.1.ebuild?rev=1.1&content-type=text/plain |
50 |
|
51 |
Index: gcc-config-1.5.1.ebuild |
52 |
=================================================================== |
53 |
# Copyright 1999-2012 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-config/gcc-config-1.5.1.ebuild,v 1.1 2012/02/29 20:16:56 vapier Exp $ |
56 |
|
57 |
inherit flag-o-matic toolchain-funcs multilib |
58 |
|
59 |
# Version of .c wrapper to use |
60 |
W_VER="1.5.2" |
61 |
|
62 |
DESCRIPTION="Utility to change the gcc compiler being used" |
63 |
HOMEPAGE="http://www.gentoo.org/" |
64 |
SRC_URI="" |
65 |
|
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" |
69 |
IUSE="" |
70 |
|
71 |
RDEPEND="!app-admin/eselect-compiler" |
72 |
|
73 |
S=${WORKDIR} |
74 |
|
75 |
src_unpack() { |
76 |
cp "${FILESDIR}"/wrapper-${W_VER}.c "${S}"/wrapper.c || die |
77 |
} |
78 |
|
79 |
src_compile() { |
80 |
strip-flags |
81 |
emake CC="$(tc-getCC)" wrapper || die "compile wrapper" |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
newbin "${FILESDIR}"/${PN}-${PV} ${PN} || die "install gcc-config" |
86 |
sed -i \ |
87 |
-e "s:@GENTOO_LIBDIR@:$(get_libdir):g" \ |
88 |
"${D}"/usr/bin/${PN} |
89 |
|
90 |
exeinto /usr/$(get_libdir)/misc |
91 |
newexe wrapper gcc-config || die "install wrapper" |
92 |
} |
93 |
|
94 |
pkg_postinst() { |
95 |
# Scrub eselect-compiler remains |
96 |
if [[ -e ${ROOT}/etc/env.d/05compiler ]] ; then |
97 |
rm -f "${ROOT}"/etc/env.d/05compiler |
98 |
fi |
99 |
|
100 |
# Make sure old versions dont exist #79062 |
101 |
rm -f "${ROOT}"/usr/sbin/gcc-config |
102 |
|
103 |
# We not longer use the /usr/include/g++-v3 hacks, as |
104 |
# it is not needed ... |
105 |
[[ -L ${ROOT}/usr/include/g++ ]] && rm -f "${ROOT}"/usr/include/g++ |
106 |
[[ -L ${ROOT}/usr/include/g++-v3 ]] && rm -f "${ROOT}"/usr/include/g++-v3 |
107 |
|
108 |
# Do we have a valid multi ver setup ? |
109 |
local x |
110 |
for x in $(gcc-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do |
111 |
gcc-config ${x} |
112 |
done |
113 |
} |