summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-10-11 14:14:34 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-10-11 14:14:34 +0000
commit764c9519638878abc41738084886664d85692a72 (patch)
treebf76a722242acb06d80a6316b394f6f67469a3d7 /dev-lang
parentstable ppc, bug #195167 (diff)
downloadgentoo-2-764c9519638878abc41738084886664d85692a72.tar.gz
gentoo-2-764c9519638878abc41738084886664d85692a72.tar.bz2
gentoo-2-764c9519638878abc41738084886664d85692a72.zip
new version
(Portage version: 2.1.3.12)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/gnat-gcc/ChangeLog7
-rw-r--r--dev-lang/gnat-gcc/files/digest-gnat-gcc-4.2.215
-rw-r--r--dev-lang/gnat-gcc/gnat-gcc-4.2.2.ebuild48
3 files changed, 69 insertions, 1 deletions
diff --git a/dev-lang/gnat-gcc/ChangeLog b/dev-lang/gnat-gcc/ChangeLog
index e011426847f3..eb3c40314692 100644
--- a/dev-lang/gnat-gcc/ChangeLog
+++ b/dev-lang/gnat-gcc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lang/gnat-gcc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.15 2007/10/10 18:28:19 george Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.16 2007/10/11 14:14:33 george Exp $
+
+*gnat-gcc-4.2.2 (11 Oct 2007)
+
+ 11 Oct 2007; George Shapovalov <george@gentoo.org> +gnat-gcc-4.2.2.ebuild:
+ new version
*gnat-gcc-4.2.1 (10 Oct 2007)
diff --git a/dev-lang/gnat-gcc/files/digest-gnat-gcc-4.2.2 b/dev-lang/gnat-gcc/files/digest-gnat-gcc-4.2.2
new file mode 100644
index 000000000000..28eb65d21968
--- /dev/null
+++ b/dev-lang/gnat-gcc/files/digest-gnat-gcc-4.2.2
@@ -0,0 +1,15 @@
+MD5 041927b3a469acacd1ec328b97007659 gcc-ada-4.2.2.tar.bz2 4686287
+RMD160 580b8f61755cc230cb9305845b667386f2fbe07d gcc-ada-4.2.2.tar.bz2 4686287
+SHA256 5d73099544b0ebd39a1ccf20f684e0826c1c2fbec97dd1d7a7d4458912b4dc8a gcc-ada-4.2.2.tar.bz2 4686287
+MD5 b02a013580a9555c7c8f2ca554c02722 gcc-core-4.2.2.tar.bz2 19104360
+RMD160 6943f9f56d5c10ea60b88e6d03cf2c0bf95a2b3c gcc-core-4.2.2.tar.bz2 19104360
+SHA256 0aa0e8855ed2a18557116da97a3786b753e8f117024c974a78bf8b1a49e30d06 gcc-core-4.2.2.tar.bz2 19104360
+MD5 89cb31ac0e755045e0ded755899062fb gnatboot-4.1-amd64.tar.bz2 15314736
+RMD160 d3042072827d66dff67e57559613f7d4136c8443 gnatboot-4.1-amd64.tar.bz2 15314736
+SHA256 a4016920b84f5934ec7120c7bb17c1028b193d5e146a46a9d1ceae4a456924d2 gnatboot-4.1-amd64.tar.bz2 15314736
+MD5 cee3c35f79a8d88a25d61d5f18ae5167 gnatboot-4.1-i386.tar.bz2 15367514
+RMD160 3a5dcd646a9abe75a62410a9daaf749171bf5aad gnatboot-4.1-i386.tar.bz2 15367514
+SHA256 597b4a16f38fb173b1eecc259c1566ccf81291e13b88e2160102a512cefcc518 gnatboot-4.1-i386.tar.bz2 15367514
+MD5 c299b0f02b3e5da30edb25a522017fbf gnatboot-4.1-ppc.tar.bz2 13651598
+RMD160 1890d8ae2e744d8a26ac5f9d1cf7c923637fff8b gnatboot-4.1-ppc.tar.bz2 13651598
+SHA256 2c9ed035b964a7dfcc427cb5c16dc30d3b99276fb424d25b0ebfde23a68013eb gnatboot-4.1-ppc.tar.bz2 13651598
diff --git a/dev-lang/gnat-gcc/gnat-gcc-4.2.2.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.2.2.ebuild
new file mode 100644
index 000000000000..1a09f0044562
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.2.2.ebuild
@@ -0,0 +1,48 @@
+# 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.2.2.ebuild,v 1.1 2007/10/11 14:14:33 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
+}