From: | "George Shapovalov (george)" <george@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-lang/gnat-gcc: gnat-gcc-4.3.3-r2.ebuild ChangeLog |
Date: | Tue, 09 Feb 2010 09:47:45 |
Message-Id: | E1Nemh3-0007YR-2j@stork.gentoo.org |
1 | george 10/02/09 09:47:41 |
2 | |
3 | Modified: ChangeLog |
4 | Added: gnat-gcc-4.3.3-r2.ebuild |
5 | Log: |
6 | fixed bootstrap for sparc and repacked one for x86. Issuing -r2 to force mirror pick up proper bootstraps. |
7 | (Portage version: 2.1.7.17/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.35 dev-lang/gnat-gcc/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnat-gcc/ChangeLog?rev=1.35&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnat-gcc/ChangeLog?rev=1.35&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnat-gcc/ChangeLog?r1=1.34&r2=1.35 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v |
19 | retrieving revision 1.34 |
20 | retrieving revision 1.35 |
21 | diff -u -r1.34 -r1.35 |
22 | --- ChangeLog 4 Feb 2010 19:42:39 -0000 1.34 |
23 | +++ ChangeLog 9 Feb 2010 09:47:40 -0000 1.35 |
24 | @@ -1,6 +1,13 @@ |
25 | # ChangeLog for dev-lang/gnat-gcc |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.34 2010/02/04 19:42:39 george Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.35 2010/02/09 09:47:40 george Exp $ |
29 | + |
30 | +*gnat-gcc-4.3.3-r2 (09 Feb 2010) |
31 | + |
32 | + 09 Feb 2010; George Shapovalov <george@g.o> |
33 | + +gnat-gcc-4.3.3-r2.ebuild: |
34 | + fixed bootstrap for sparc and repacked one for x86. Issuing -r2 to force |
35 | + mirror pick up proper bootstraps. |
36 | |
37 | 04 Feb 2010; George Shapovalov <george@g.o> |
38 | gnat-gcc-4.3.3-r1.ebuild: |
39 | |
40 | |
41 | |
42 | 1.1 dev-lang/gnat-gcc/gnat-gcc-4.3.3-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.3.3-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.3.3-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: gnat-gcc-4.3.3-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.3.3-r2.ebuild,v 1.1 2010/02/09 09:47:40 george Exp $ |
52 | |
53 | # Need to let configure know where to find stddef.h |
54 | #EXTRA_CONFGCC="${WORKDIR}/usr/lib/include/" |
55 | |
56 | inherit gnatbuild |
57 | |
58 | DESCRIPTION="GNAT Ada Compiler - gcc version" |
59 | HOMEPAGE="http://gcc.gnu.org/" |
60 | LICENSE="GMGPL" |
61 | |
62 | IUSE="" |
63 | |
64 | # using new bootstrap |
65 | BOOT_SLOT="4.3" |
66 | |
67 | # SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH) |
68 | # so the URI's are static. |
69 | SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2 |
70 | ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2 |
71 | amd64? ( http://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 ) |
72 | sparc? ( http://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-sparc.tar.bz2 ) |
73 | x86? ( http://dev.gentoo.org/~george/src/gnatboot-${BOOT_SLOT}-i586.tar.bz2 )" |
74 | # ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 ) |
75 | |
76 | KEYWORDS="~amd64 ~x86" |
77 | |
78 | # starting with 4.3.0 gnat needs these libs |
79 | DEPEND=">=dev-libs/mpfr-2.3.1 |
80 | >=dev-libs/gmp-4.2.2" |
81 | |
82 | #QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake |
83 | # ${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so" |
84 | |
85 | src_unpack() { |
86 | gnatbuild_src_unpack |
87 | |
88 | #fixup some hardwired flags |
89 | cd "${S}"/gcc/ada |
90 | |
91 | # universal gcc -> gnatgcc substitution occasionally produces lines too long |
92 | # and then build halts on the style check. |
93 | # |
94 | # The sed in makegpr.adb is actually not for the line length but rather to |
95 | # "undo" the fixing, Last3 is matching just that - the last three characters |
96 | # of the compiler name. |
97 | sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb && |
98 | sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads || |
99 | die "reversing [gnat]gcc substitution in comments failed" |
100 | |
101 | # looks like wrapper has problems with all the quotation |
102 | sed -i -e "/-DREVISION/d" -e "/-DDEVPHASE/d" \ |
103 | -e "s: -DDATESTAMP=\$(DATESTAMP_s)::" "${S}"/gcc/Makefile.in |
104 | sed -i -e "s: DATESTAMP DEVPHASE REVISION::" \ |
105 | -e "s:PKGVERSION:\"\":" "${S}"/gcc/version.c |
106 | } |
107 | |
108 | src_compile() { |
109 | # looks like gnatlib_and_tools and gnatlib_shared have become part of |
110 | # bootstrap |
111 | gnatbuild_src_compile configure make-tools bootstrap |
112 | } |