summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2007-02-15 09:32:42 +0000
committerGeorge Shapovalov <george@gentoo.org>2007-02-15 09:32:42 +0000
commit2338af604020c6c103ed804035d83c908d45d396 (patch)
tree4380199da12292311535a8178cb5186c60049b6e /dev-lang/gnat-gcc
parentrm old versions (diff)
downloadgentoo-2-2338af604020c6c103ed804035d83c908d45d396.tar.gz
gentoo-2-2338af604020c6c103ed804035d83c908d45d396.tar.bz2
gentoo-2-2338af604020c6c103ed804035d83c908d45d396.zip
added new version
(Portage version: 2.1.2-r9)
Diffstat (limited to 'dev-lang/gnat-gcc')
-rw-r--r--dev-lang/gnat-gcc/ChangeLog9
-rw-r--r--dev-lang/gnat-gcc/files/digest-gnat-gcc-4.1.215
-rw-r--r--dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild43
3 files changed, 65 insertions, 2 deletions
diff --git a/dev-lang/gnat-gcc/ChangeLog b/dev-lang/gnat-gcc/ChangeLog
index d8953f928d90..f02ac83a7944 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-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.8 2006/10/25 13:47:52 george Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat-gcc/ChangeLog,v 1.9 2007/02/15 09:32:42 george Exp $
+
+*gnat-gcc-4.1.2 (15 Feb 2007)
+
+ 15 Feb 2007; George Shapovalov <george@gentoo.org> +gnat-gcc-4.1.2.ebuild:
+ new version out
25 Oct 2006; George Shapovalov <george@gentoo.org> gnat-gcc-3.4.6.ebuild,
gnat-gcc-4.1.0.ebuild, gnat-gcc-4.1.1.ebuild:
diff --git a/dev-lang/gnat-gcc/files/digest-gnat-gcc-4.1.2 b/dev-lang/gnat-gcc/files/digest-gnat-gcc-4.1.2
new file mode 100644
index 000000000000..8bc8f7080137
--- /dev/null
+++ b/dev-lang/gnat-gcc/files/digest-gnat-gcc-4.1.2
@@ -0,0 +1,15 @@
+MD5 37fe23fcc8a8388af01826ed8e64f521 gcc-ada-4.1.2.tar.bz2 4589609
+RMD160 9fee74690503a8df2653cbb3eecf0a29375ba535 gcc-ada-4.1.2.tar.bz2 4589609
+SHA256 703125c4d033c666b52db2aeee0a05e3461467fe8ff6e5e588b5cdb8c6928bb0 gcc-ada-4.1.2.tar.bz2 4589609
+MD5 2af3fb599635219171c6ae1f3034888a gcc-core-4.1.2.tar.bz2 17485561
+RMD160 612cbd5b795f7095fb3f565e6a8eaaee82c472c5 gcc-core-4.1.2.tar.bz2 17485561
+SHA256 7be9c5df8000ae35d0928f0a254bfb5e8478cad5e5e57fd07820530c03b3711d gcc-core-4.1.2.tar.bz2 17485561
+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.1.2.ebuild b/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild
new file mode 100644
index 000000000000..145ff7a1dd08
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-4.1.2.ebuild
@@ -0,0 +1,43 @@
+# 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.1 2007/02/15 09:32:42 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? ( http://mirrors/gentoo/gnatboot-${BOOT_SLOT}-ppc.tar.bz2 )
+ x86? ( http://mirrors/gentoo/gnatboot-${BOOT_SLOT}-i386.tar.bz2 )
+ amd64? ( http://mirrors/gentoo/gnatboot-${BOOT_SLOT}-amd64.tar.bz2 )"
+
+KEYWORDS="~amd64 ~ppc ~x86"
+
+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
+}