ChangeLog

# ChangeLog for dev-lang/gnat-gcc
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.26 2008/06/25 14:27:44 george Exp $

25 Jun 2008; George Shapovalov gnat-gcc-4.3.0.ebuild,
gnat-gcc-4.3.1.ebuild:
added gmp and mpfr to DEPEND per #223751 (thanks to Dirk Heinrichs for
spotting this)

*gnat-gcc-4.3.1 (10 Jun 2008)

10 Jun 2008; George Shapovalov +gnat-gcc-4.3.1.ebuild:
new version out

17 Mar 2008; Santiago M. Mola gnat-gcc-3.4.6.ebuild,
gnat-gcc-4.2.2.ebuild:
amd64 stable wrt bugs #209000 and #208997

12 Mar 2008; George Shapovalov ChangeLog:
finally the 4.3 release. This one should have the best Ada-2005 support atm.

*gnat-gcc-4.3_pre20080208 (15 Feb 2008)

15 Feb 2008; George Shapovalov
+gnat-gcc-4.3_pre20080208.ebuild:
added the 4.3 snapshot in preparison for release

10 Feb 2008; Markus Meier gnat-gcc-3.4.6.ebuild:
x86 stable, bug #209000

08 Feb 2008; Tobias Scherbaum
gnat-gcc-4.2.2.ebuild:
ppc stable, bug #208997

07 Feb 2008; George Shapovalov gnat-gcc-3.4.6.ebuild:
fixed autotools version mismatch issue (#209000)

05 Feb 2008; Christian Faulhammer
gnat-gcc-4.2.2.ebuild:
stable x86, bug 208997

*gnat-gcc-4.2.3 (05 Feb 2008)

05 Feb 2008; George Shapovalov +gnat-gcc-4.2.3.ebuild:
new version out

*gnat-gcc-4.2.2 (11 Oct 2007)

11 Oct 2007; George Shapovalov +gnat-gcc-4.2.2.ebuild:
new version

*gnat-gcc-4.2.1 (10 Oct 2007)

10 Oct 2007; George Shapovalov
gnat-gcc-3.4.5-r2.ebuild, gnat-gcc-3.4.6.ebuild, gnat-gcc-4.1.1.ebuild,
gnat-gcc-4.1.2.ebuild, gnat-gcc-4.2.0.ebuild, +gnat-gcc-4.2.1.ebuild:
added new version. Fixed env (no longer) leaking issue in gnatbuild.eclass.
Quoted ${S}

29 May 2007; George Shapovalov gnat-gcc-4.2.0.ebuild:
QA_EXECSTACK marked

18 May 2007; user account for gentoo cvs access
gnat-gcc-4.1.1.ebuild, gnat-gcc-4.1.2.ebuild, gnat-gcc-3.4.5-r2.ebuild, gnat-gcc-3.4.6.ebuild:
added QA_EXECSTACK bypass (#141315)

18 May 2007; George Shapovalov
-gnat-gcc-3.4.5-r1.ebuild, -gnat-gcc-4.1.0.ebuild:
removed stale versions

*gnat-gcc-4.2.0 (18 May 2007)

18 May 2007; George Shapovalov +gnat-gcc-4.2.0.ebuild:
added new version

*gnat-gcc-4.1.2 (15 Feb 2007)

15 Feb 2007; George Shapovalov +gnat-gcc-4.1.2.ebuild:
new version out

25 Oct 2006; George Shapovalov gnat-gcc-3.4.6.ebuild,
gnat-gcc-4.1.0.ebuild, gnat-gcc-4.1.1.ebuild:
changed SRC_URIs to point to mirrors (now that the sources had ample time to
propagate)

24 Sep 2006; David Holm gnat-gcc-4.1.1.ebuild:
Added to ~ppc.

05 Sep 2006; George Shapovalov gnat-gcc-3.4.6.ebuild, gnat-gcc-4.1.1.ebuild:
added SRC_URI's for ppc bootstraps

*gnat-gcc-4.1.1 (30 May 2006)

30 May 2006; George Shapovalov +gnat-gcc-4.1.1.ebuild:
new version

*gnat-gcc-3.4.6 (27 Mar 2006)

27 Mar 2006; George Shapovalov +gnat-gcc-3.4.6.ebuild:
new version, following the gcc release

26 Mar 2006; George Shapovalov -gnat-gcc-3.4.5.ebuild:
removed stale and (any more) nonworking version

*gnat-gcc-4.1.0 (26 Mar 2006)
*gnat-gcc-3.4.5-r2 (26 Mar 2006)

26 Mar 2006; George Shapovalov
+files/patches/74_all_sh-pr24836.patch,
+files/patches/51_all_gcc-3.4-libiberty-pic.patch,
+files/gcc-configure-LANG.patch, +gnat-gcc-3.4.5-r2.ebuild,
+gnat-gcc-4.1.0.ebuild:
added new versions to accompany a much revorked gnatbuild.eclass. Now
handles multilib better, uses i386 bootstraps on x86 and fixes some misc
stuff. 4.1.0 has been added too..

*gnat-gcc-3.4.5-r1 (23 Jan 2006)

23 Jan 2006; George Shapovalov
+gnat-gcc-3.4.5-r1.ebuild:
new revision to force use of new bootstrap and to match new eselect-gnat
locations

*gnat-gcc-3.4.5 (17 Jan 2006)

17 Jan 2006; George Shapovalov
+files/gnat-Make-lang.in.patch, +metadata.xml, +gnat-gcc-3.4.5.ebuild:
initial commit. Split gnat package - gcc version (#111340)

Manifest

AUX gcc-configure-LANG.patch 1686 RMD160 4ff8355af81705058fd411910dfae94887bcd884 SHA1 67ae0deff73689cb39cd6e7451262bdda9c25a39 SHA256 dc9386b88eac48c282d63d0be7e7be81d4a0a08035a8b97138a61133e057bcea
AUX gnat-Make-lang.in.patch 555 RMD160 110c659ce235926a488eb6382bc380de7195cb13 SHA1 45bd989629fcf8c889759238dfbf37ddb3ee8a3b SHA256 e213feb0c5676dac56af0d9f8d4112cfaae6bfff1e29f18fee81f4e23634e698
AUX patches/51_all_gcc-3.4-libiberty-pic.patch 350 RMD160 4460024bbeae0a723df57657524cbdcb087f269d SHA1 3f755ad571623b2c6481c763d55a1eeaf8d44c28 SHA256 c67824f20231181cd351dab085d861c6d97100b22ee913c5610b160aae5f4a0d
AUX patches/74_all_sh-pr24836.patch 663 RMD160 674e395da770cac6e5ac66f53553acd2612d5011 SHA1 b8778a7bc872acd56282fc4c3f6975381596e1bb SHA256 64772b8d84f82194bd8be91f6cf73d868b6ac24c41a5eddd238d559dbe109362
DIST gcc-ada-3.4.5.tar.bz2 3784842 RMD160 a18bf6a63b4720fdd688f39ece0292d3353da77d SHA1 9bdb2f19c10504fcd4f08eaaf5a48e7ee96f772a SHA256 289c9cd4a7e7c89735cef530666e962438b5057aa9e02d94d2f068238dfcb996
DIST gcc-ada-3.4.6.tar.bz2 3784327 RMD160 6984d622622b2d2fcd2fc61588d421b0375984f7 SHA1 02a6d26e48fe654077aba94fa27e93df2db16d06 SHA256 d5bfb166b2ad287ba85ebba533cca4453b521479cffc1bd3c6d273f6b3d794e2
DIST gcc-ada-4.1.1.tar.bz2 4587997 RMD160 bfecb96979b647bbcf49396acc7455f17ea123f7 SHA1 65a052a4b1f5f2b67aa9693294be1d66ed10f5b0 SHA256 41d723538f5c4b8d8e024b16900bbd1955809086200acfbcad83ce94cf44c6ba
DIST gcc-ada-4.1.2.tar.bz2 4589609 RMD160 9fee74690503a8df2653cbb3eecf0a29375ba535 SHA1 4b3c39bd9ff80f4ce4cf7dac8d38403f91b75cef SHA256 703125c4d033c666b52db2aeee0a05e3461467fe8ff6e5e588b5cdb8c6928bb0
DIST gcc-ada-4.2.2.tar.bz2 4686287 RMD160 580b8f61755cc230cb9305845b667386f2fbe07d SHA1 cfff257beaf6253aefc241727464e755a1c43f9a SHA256 5d73099544b0ebd39a1ccf20f684e0826c1c2fbec97dd1d7a7d4458912b4dc8a
DIST gcc-ada-4.2.3.tar.bz2 4740243 RMD160 dd3dc58d87a24fef7f33a0a04e13de30d7cc6758 SHA1 fcf69fbc1d802ef1349a14ccdf7e9a53028d90e0 SHA256 08956727415fb1721c5c89ef33ebe94ab718459e88f7cd4589fc1c2b7e98cb4c
DIST gcc-ada-4.3-20080208.tar.bz2 5298558 RMD160 90890e7b977b1db53bd12f377b340605e5d87560 SHA1 43cc1fa9640ef9fb630398ecd4956f604997576d SHA256 27932ac6eed0eba4ef83ef544aa6bc5062418b4d1517c0918ab0dc9c64e27814
DIST gcc-ada-4.3.0.tar.bz2 5279571 RMD160 a702b6d06c345d78a33df4b05478790d841c283c SHA1 5655c96e99949561ba95307cee03536ba4eaa8ed SHA256 9857cb4c6c293990f5c0583e4eec29239eb3bbac4c8e2f505d0d9544ba9b67d2
DIST gcc-ada-4.3.1.tar.bz2 5300568 RMD160 16a5e5d45ad0a142dc173b90d9a2137310204526 SHA1 ec191dfbd3c326e94d96d40d31dd0d5a55a41ea4 SHA256 077ff1f02aaec5f02d38b9d27ccb6e7cbd1fa3a684dafc04a66d7645d6e2f20b
DIST gcc-core-3.4.5.tar.bz2 13397308 RMD160 d0b1f2748929d319b68e80542edfe1251a867c81 SHA1 0a21072e1f5d7cbc50f3b045b1fd45c85be1fad1 SHA256 8a2824b12a1cae8b68de3be0a8fd2da14918462e6afa27c3578ccfc8ab10d0fc
DIST gcc-core-3.4.6.tar.bz2 13366790 RMD160 510f512c1de3e0b67c68aeaf9933a547f500b6d9 SHA1 5f41c5e31fdc04e83fa16b07729866d53ffaadce SHA256 3aab171d86e5a6c14cb9de35467a0472a7d5ef1d5b79a1df72ca533f8e82a133
DIST gcc-core-4.1.1.tar.bz2 17087873 RMD160 680ba95c45481d99a112534078530b1a5d395931 SHA1 147e12bf96a8d857fda1d43f0d7ea599b89cebf9 SHA256 f1f116d3f6281ffe961b68255bdc446cd164d7b9d159cb302236a6175d215a51
DIST gcc-core-4.1.2.tar.bz2 17485561 RMD160 612cbd5b795f7095fb3f565e6a8eaaee82c472c5 SHA1 d6875295f6df1bec4a6f4ab8f0da54bfb8d97306 SHA256 7be9c5df8000ae35d0928f0a254bfb5e8478cad5e5e57fd07820530c03b3711d
DIST gcc-core-4.2.2.tar.bz2 19104360 RMD160 6943f9f56d5c10ea60b88e6d03cf2c0bf95a2b3c SHA1 0bafb7e60432da2e5a0aad4424dde01c2a5c58bd SHA256 0aa0e8855ed2a18557116da97a3786b753e8f117024c974a78bf8b1a49e30d06
DIST gcc-core-4.2.3.tar.bz2 19319213 RMD160 1ced09156d8444bba7eb2550a969f72b788d4bc5 SHA1 0896a32b36f2fcd3dd39c8424b548fab87b33873 SHA256 99ec052e13e8c2bc7d1db86d1c98fb651d45fd3e8ea90b0981c47f6e8826c813
DIST gcc-core-4.3-20080208.tar.bz2 21141713 RMD160 05a13a9d12c33d3c0dbe254e327963746b4a68e3 SHA1 a1ac93e24f6c22b34420ba15163470d7c3d53e4e SHA256 6bc7d94eac41243bbe0e7db6cfd5b2031f15bd1145a4f22b91e0807b38ebf476
DIST gcc-core-4.3.0.tar.bz2 24251371 RMD160 9df64a4f374807b208364328cc10aa56ca5a161a SHA1 2fcea9d777933517a266175f96bc781675d476b3 SHA256 2bb3b28e33c1299946f3a396018cf711a2e32e30c6f0203c83e76ae36707e3e5
DIST gcc-core-4.3.1.tar.bz2 23799743 RMD160 7a9e15c309946bdfc5cd6b000c8fda72ef3f4053 SHA1 2d47e33344b7978a59af04885c1d3947c3dc360e SHA256 c7706b3354c1bede6ba83440b0997dc7d5fcd8892345f857527807294a9857a3
DIST gnatboot-3.4-amd64-r2.tar.bz2 12063245 RMD160 6be578cb8938e872b39d2420c2151d4b8b574f20 SHA1 ce67f3147a5d009ffe5d92cc5ef116f32e772bb0 SHA256 c0c2fe91f6c38483193415690a4f90ac205e3aa9cf42ab3ab3e5d2a3ec269d8d
DIST gnatboot-3.4-i386.tar.bz2 10629373 RMD160 27a3189be4a1f699b438f777679890b93a51eb1e SHA1 78d5aa6c9800ab978db1fbf93255ed70fe188dbc SHA256 7b4300e72b7f00d2fd9d0dad6940c3e6b4e19eeaf4696e92d7c92e2a38e8b049
DIST gnatboot-3.4-ppc.tar.bz2 10996302 RMD160 de56dbb14346f41023ae06445d830c6bd9bbf50a SHA1 87c068ddb7bb14b87e04765e2c3c2997064e8770 SHA256 1f164834e377604a943b230196d9f2a40e8e6753bac4c980d5ca2c00c7674363
DIST gnatboot-4.1-amd64.tar.bz2 15314736 RMD160 d3042072827d66dff67e57559613f7d4136c8443 SHA1 c6a3b213209019579da7660147211c2bc9e6a348 SHA256 a4016920b84f5934ec7120c7bb17c1028b193d5e146a46a9d1ceae4a456924d2
DIST gnatboot-4.1-i386.tar.bz2 15367514 RMD160 3a5dcd646a9abe75a62410a9daaf749171bf5aad SHA1 a7229124084a9e842686eb3c255e42bf432d7b3b SHA256 597b4a16f38fb173b1eecc259c1566ccf81291e13b88e2160102a512cefcc518
DIST gnatboot-4.1-ppc.tar.bz2 13651598 RMD160 1890d8ae2e744d8a26ac5f9d1cf7c923637fff8b SHA1 017efeb76d9283bd90c431b06ddcb7dc91055e07 SHA256 2c9ed035b964a7dfcc427cb5c16dc30d3b99276fb424d25b0ebfde23a68013eb
EBUILD gnat-gcc-3.4.5-r2.ebuild 1046 RMD160 b879d1f30a8199b034a2c05e9c9b562838799be4 SHA1 ef8f5bded15f4f32d5d3ed3c5b60ae8857723506 SHA256 ca2e020d1f024d853577ed3867eedda9f216e6565c09d9f28dea4cdf004d41fd
EBUILD gnat-gcc-3.4.6.ebuild 1133 RMD160 7003128a3fcf7d786d33ed28ebb9f85f9ba98d70 SHA1 c70765d5bbc1c1ba8e64f85705258e148c67ee78 SHA256 c431eedc7693bc7ae289f1525b9844dadea947902930521692e93cc78e6d644d
EBUILD gnat-gcc-4.1.1.ebuild 1542 RMD160 4cf161f7c5c8c869cebc463da4a104e5d2fa0e07 SHA1 5efaaa0ea265fcdcd283cb757e06eb673e320de0 SHA256 2c2a9c61f4fb3e2b990dbb780d6959f44e7808f0f17869f501e12faafe720668
EBUILD gnat-gcc-4.1.2.ebuild 1724 RMD160 316c0b40bdca6334762936304f9efdfbbccab12d SHA1 1cf48918ce082609dd96eba390a9690ae176e5a6 SHA256 127b2cfd0c0ced216b64193e3e53df08163693ae963831c88351fbfe59aeff83
EBUILD gnat-gcc-4.2.2.ebuild 1796 RMD160 f023b6b589f66c4232e7cbafa1f2e2f1e335bafc SHA1 c871160f9cd18d9ce692a387858241f591a28578 SHA256 da5cac6a76094aa932ea143ec3e1ac204d0ac2e515e7e11e1b6650b1ec7f0562
EBUILD gnat-gcc-4.2.3.ebuild 1797 RMD160 cdb914745d071953b95a019f8c33e0dbea99a57c SHA1 304c832f91d09036c80460fc844224b7e2e5d7d0 SHA256 bfe15f4b51debb8256b76aea7d445bed30d2b0bc3f2ae5a81b971742ce319321
EBUILD gnat-gcc-4.3.0.ebuild 2160 RMD160 c44b992f2d8b9f9e79fbf896c4aef362b05fcfd6 SHA1 9708a9f5e20da9500d34cfd7a2084cad70e571a7 SHA256 e8d504851bae68e6f434e7b47f7d8064c42d94a926c419014b768be6e558d8cc
EBUILD gnat-gcc-4.3.1.ebuild 2160 RMD160 f550723c5385c5880fec14b08cc8264033113871 SHA1 59bd674999a26bda5c03f95738df7f23d9d9e223 SHA256 f340f2df43ee0a35406207eeddb62df8d776b1c33c03f5fa51df56066f4164d4
EBUILD gnat-gcc-4.3_pre20080208.ebuild 2544 RMD160 b9cf59e8c2260f5012f5cb64d10c4ef0558c5c2d SHA1 f72953192d051cb8f015c3622d24ca7fd0cb0a96 SHA256 39c8a61690a2f03b2100075aa0b9f520951cd0a0a34b7ed3758643086ebc20f8
MISC ChangeLog 4458 RMD160 92aa8cf589f1f87cc1302206d4c802749dd2841c SHA1 5b0615b74cc89567de5f5e2bbd2f0b2bfb4f9ac3 SHA256 4168b8ef6822ba856f64b4a4351b60145b33aa609442e8ecd6188b43cde971e5
MISC metadata.xml 486 RMD160 a26b50e63ac849ba139fca465a52c8dd508b3e4d SHA1 0d1a097a395d7c1454472b598f04aea8b590c16d SHA256 c842cca66a73967cb7f205eff6cf4095fe360739b332cdb5b58b23d38e1e0960

files

gnat-gcc-3.4.5-r2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-3.4.5-r2.ebuild,v 1.4 2007/10/10 18:28:19 george Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# BOOT_SLOT is defined in gnatbuild.eclass and depends only on $PV
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64-r2.tar.bz2 )"

KEYWORDS="~amd64 ~x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada
sed -i -e "s:CFLAGS = -O2:CFLAGS = ${CFLAGS}:" \
Makefile.adalib || die "patching Makefile.adalib failed"
}

gnat-gcc-3.4.6.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-3.4.6.ebuild,v 1.9 2008/03/17 12:37:50 coldwind Exp $

WANT_AUTOCONF=2.1
inherit gnatbuild autotools

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# BOOT_SLOT is defined in gnatbuild.eclass and depends only on $PV
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64-r2.tar.bz2 )"

KEYWORDS="amd64 x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada
sed -i -e "s:CFLAGS = -O2:CFLAGS = ${CFLAGS}:" \
Makefile.adalib || die "patching Makefile.adalib failed"
}

gnat-gcc-4.1.1.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.1.1.ebuild,v 1.8 2007/10/10 18:28:19 george Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="~amd64 ~ppc ~x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check or even produces wrong code..
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

gnat-gcc-4.1.2.ebuild

# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild,v 1.5 2007/10/10 18:28:19 george Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="~amd64 ~ppc ~x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check or even produces wrong code..
#
# The sed in makegpr.adb is actually not for the line length but rather to
# "undo" the fixing, Last3 is matching just that - the last three characters
# of the compiler name.
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

gnat-gcc-4.2.2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.2.2.ebuild,v 1.4 2008/03/17 12:37:50 coldwind Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# overriding the BOOT_SLOT, as 4.1 should do fine, no need for bootstrap duplication
BOOT_SLOT="4.1"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="amd64 ppc x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check.
#
# The sed in makegpr.adb is actually not for the line length but rather to
# "undo" the fixing, Last3 is matching just that - the last three characters
# of the compiler name.
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

gnat-gcc-4.2.3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.2.3.ebuild,v 1.1 2008/02/05 13:34:51 george Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# overriding the BOOT_SLOT, as 4.1 should do fine, no need for bootstrap duplication
BOOT_SLOT="4.1"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="~amd64 ~ppc ~x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check.
#
# The sed in makegpr.adb is actually not for the line length but rather to
# "undo" the fixing, Last3 is matching just that - the last three characters
# of the compiler name.
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

gnat-gcc-4.3.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.3.0.ebuild,v 1.2 2008/06/25 14:27:44 george Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# overriding the BOOT_SLOT, as 4.1 should do fine, no need for bootstrap duplication
BOOT_SLOT="4.1"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="~amd64 ~ppc ~x86"

# starting with 4.3.0 gnat needs these libs
DEPEND=">=dev-libs/mpfr-2.3.1
>=dev-libs/gmp-4.2.2"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check.
#
# The sed in makegpr.adb is actually not for the line length but rather to
# "undo" the fixing, Last3 is matching just that - the last three characters
# of the compiler name.
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"

# Looks like old bootstrap cannot process new C syntax..
sed -i -e "/-DREVISION/d" -e "/-DDEVPHASE/d" \
-e "s: -DDATESTAMP=\$(DATESTAMP_s)::" "${S}"/gcc/Makefile.in
sed -i -e "s: DATESTAMP DEVPHASE REVISION::" \
-e "s:PKGVERSION:\"\":" "${S}"/gcc/version.c
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

gnat-gcc-4.3.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.3.1.ebuild,v 1.2 2008/06/25 14:27:44 george Exp $

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# overriding the BOOT_SLOT, as 4.1 should do fine, no need for bootstrap duplication
BOOT_SLOT="4.1"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-core-${PV}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/releases/gcc-${PV}/gcc-ada-${PV}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="~amd64 ~ppc ~x86"

# starting with 4.3.0 gnat needs these libs
DEPEND=">=dev-libs/mpfr-2.3.1
>=dev-libs/gmp-4.2.2"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check.
#
# The sed in makegpr.adb is actually not for the line length but rather to
# "undo" the fixing, Last3 is matching just that - the last three characters
# of the compiler name.
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"

# Looks like old bootstrap cannot process new C syntax..
sed -i -e "/-DREVISION/d" -e "/-DDEVPHASE/d" \
-e "s: -DDATESTAMP=\$(DATESTAMP_s)::" "${S}"/gcc/Makefile.in
sed -i -e "s: DATESTAMP DEVPHASE REVISION::" \
-e "s:PKGVERSION:\"\":" "${S}"/gcc/version.c
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

gnat-gcc-4.3_pre20080208.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/gnat-gcc-4.3_pre20080208.ebuild,v 1.2 2008/02/16 08:36:08 mr_bones_ Exp $

inherit versionator

# GCCVER should be set before inherit
Issue="$(get_version_component_range 3)"
GCCVER="$(get_version_component_range 1-2)-${Issue:3}"

inherit gnatbuild

DESCRIPTION="GNAT Ada Compiler - gcc version"
HOMEPAGE="http://gcc.gnu.org/"
LICENSE="GMGPL"

# overriding the BOOT_SLOT, as 4.1 should do fine, no need for bootstrap duplication
BOOT_SLOT="4.1"

# SLOT is set in gnatbuild.eclass, depends only on PV (basically SLOT=GCCBRANCH)
# so the URI's are static.
SRC_URI="ftp://gcc.gnu.org/pub/gcc/snapshots/${GCCVER}/gcc-core-${GCCVER}.tar.bz2
ftp://gcc.gnu.org/pub/gcc/snapshots/${GCCVER}/gcc-ada-${GCCVER}.tar.bz2
ppc? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
x86? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
amd64? ( mirror://gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"

KEYWORDS="~amd64 ~ppc ~x86"

QA_EXECSTACK="${BINPATH:1}/gnatls ${BINPATH:1}/gnatbind ${BINPATH:1}/gnatmake
${LIBEXECPATH:1}/gnat1 ${LIBPATH:1}/adalib/libgnat-${SLOT}.so"

src_unpack() {
gnatbuild_src_unpack

#fixup some hardwired flags
cd "${S}"/gcc/ada

# universal gcc -> gnatgcc substitution occasionally produces lines too long
# and then build halts on the style check.
#
# The sed in makegpr.adb is actually not for the line length but rather to
# "undo" the fixing, Last3 is matching just that - the last three characters
# of the compiler name.
sed -i -e 's:(Last3 = "gnatgcc"):(Last3 = "gcc"):' makegpr.adb &&
sed -i -e 's:and Nam is "gnatgcc":and Nam is "gcc":' osint.ads ||
die "reversing [gnat]gcc substitution in comments failed"

# All snapshots seem to have a problem compiling with all the
# extra versioning declarations. Cleanup some vars..
sed -i -e "/-DREVISION/d" -e "/-DDEVPHASE/d" \
-e "s: -DDATESTAMP=\$(DATESTAMP_s)::" "${S}"/gcc/Makefile.in
# -e "s:-DBUGURL=\$(BUGURL_s) ::"
sed -i -e "s: DATESTAMP DEVPHASE REVISION::" \
-e "s:PKGVERSION:\"4.3.0\":" "${S}"/gcc/version.c
}

src_compile() {
# looks like gnatlib_and_tools and gnatlib_shared have become part of
# bootstrap
gnatbuild_src_compile configure make-tools bootstrap
}

src_install() {
# echo "contents of ${LIBEXECPATH}/gcc/${CTARGET}/${GCCRELEASE} :"
# ls "${D}${LIBEXECPATH}/gcc/${CTARGET}/${GCCRELEASE}"
# die
GCCVER="4.3.0" GCCRELEASE="4.3.0" gnatbuild_src_install
}

metadata.xml




ada

GNAT, the (GN)U (A)da (T)oolchain, is a high performance Ada 95
development environment based on the mature GCC compiler technology. It
implements the full Ada 95 language defined by the ISO standard and is upward
compatible with Ada 83. This is an FSF supported version, integrated with gcc.