summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2006-01-17 20:12:10 +0000
committerGeorge Shapovalov <george@gentoo.org>2006-01-17 20:12:10 +0000
commitd5da117c64d63159206052b80483f755a55fc951 (patch)
treeb84ba79d42e7011dbb6a79f94a6ff8769e755b88 /dev-lang/gnat-gcc
parentStable on hppa. (diff)
downloadgentoo-2-d5da117c64d63159206052b80483f755a55fc951.tar.gz
gentoo-2-d5da117c64d63159206052b80483f755a55fc951.tar.bz2
gentoo-2-d5da117c64d63159206052b80483f755a55fc951.zip
initial commit. Split gnat package - gcc version (#111340)
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'dev-lang/gnat-gcc')
-rw-r--r--dev-lang/gnat-gcc/ChangeLog9
-rw-r--r--dev-lang/gnat-gcc/Manifest4
-rw-r--r--dev-lang/gnat-gcc/files/digest-gnat-gcc-3.4.54
-rw-r--r--dev-lang/gnat-gcc/files/gnat-Make-lang.in.patch14
-rw-r--r--dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild27
-rw-r--r--dev-lang/gnat-gcc/metadata.xml11
6 files changed, 69 insertions, 0 deletions
diff --git a/dev-lang/gnat-gcc/ChangeLog b/dev-lang/gnat-gcc/ChangeLog
new file mode 100644
index 000000000000..68599f7590e5
--- /dev/null
+++ b/dev-lang/gnat-gcc/ChangeLog
@@ -0,0 +1,9 @@
+# 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.1 2006/01/17 20:12:10 george Exp $
+
+*gnat-gcc-3.4.5 (17 Jan 2006)
+
+ 17 Jan 2006; George Shapovalov <george@gentoo.org>
+ +files/gnat-Make-lang.in.patch, +metadata.xml, +gnat-gcc-3.4.5.ebuild:
+ initial commit. Split gnat package - gcc version (#111340)
diff --git a/dev-lang/gnat-gcc/Manifest b/dev-lang/gnat-gcc/Manifest
new file mode 100644
index 000000000000..c7c6602d7ed4
--- /dev/null
+++ b/dev-lang/gnat-gcc/Manifest
@@ -0,0 +1,4 @@
+MD5 19ea138e67bb27f5f3fe7966d006f179 files/digest-gnat-gcc-3.4.5 281
+MD5 c370fea9c771c16d066a4c661e93edc7 files/gnat-Make-lang.in.patch 555
+MD5 9683ee5441ad9a8482bbd4dc07235fd9 gnat-gcc-3.4.5.ebuild 896
+MD5 f8daaafdf0b4310ad64741b70cb917d0 metadata.xml 486
diff --git a/dev-lang/gnat-gcc/files/digest-gnat-gcc-3.4.5 b/dev-lang/gnat-gcc/files/digest-gnat-gcc-3.4.5
new file mode 100644
index 000000000000..349d4f2ff7af
--- /dev/null
+++ b/dev-lang/gnat-gcc/files/digest-gnat-gcc-3.4.5
@@ -0,0 +1,4 @@
+MD5 797afd0098e6b29ff85a2a8158d23f32 gcc-ada-3.4.5.tar.bz2 3784842
+MD5 0114ba67f9aabad91d96797d0b6017c4 gcc-core-3.4.5.tar.bz2 13397308
+MD5 57a47a08504a2bc06fb1b24925aab918 gnatboot-3.4-amd64.tar.bz2 12043726
+MD5 1c846f5ef514714baa1e0f70c0c3df9e gnatboot-3.4-i686.tar.bz2 10608480
diff --git a/dev-lang/gnat-gcc/files/gnat-Make-lang.in.patch b/dev-lang/gnat-gcc/files/gnat-Make-lang.in.patch
new file mode 100644
index 000000000000..ccb4e273d6e1
--- /dev/null
+++ b/dev-lang/gnat-gcc/files/gnat-Make-lang.in.patch
@@ -0,0 +1,14 @@
+--- Make-lang.in-orig 2005-12-14 19:11:41.538266250 +0100
++++ Make-lang.in 2005-12-14 19:12:50.358567250 +0100
+@@ -341,9 +341,9 @@
+ gnatlib-shared: force
+ $(MAKE) -C ada $(FLAGS_TO_PASS) \
+ GNATLIBFLAGS="$(GNATLIBFLAGS)" \
+- GNATLIBCFLAGS="$(GNATLIBCFLAGS)" \
++ GNATLIBCFLAGS="$(GNATLIBCFLAGS) -fPIC" \
+ GNATLIBLDFLAGS="$(GNATLIBLDFLAGS)" \
+- TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS)" \
++ TARGET_LIBGCC2_CFLAGS="$(TARGET_LIBGCC2_CFLAGS) -fPIC" \
+ THREAD_KIND="$(THREAD_KIND)" \
+ TRACE="$(TRACE)" \
+ gnatlib-shared
diff --git a/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild b/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild
new file mode 100644
index 000000000000..a06d9c95d347
--- /dev/null
+++ b/dev-lang/gnat-gcc/gnat-gcc-3.4.5.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2006 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.ebuild,v 1.1 2006/01/17 20:12:10 george Exp $
+
+inherit gnatbuild flag-o-matic
+
+DESCRIPTION="GNAT Ada Compiler - gcc version"
+HOMEPAGE="http://gcc.gnu.org/"
+LICENSE="GMGPL"
+
+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? ( http://dev.gentoo.org/~george/src/gnatboot-${GNATBRANCH}-i686.tar.bz2 )
+ amd64? ( http://dev.gentoo.org/~george/src/gnatboot-${GNATBRANCH}-amd64.tar.bz2 )"
+# ${GNATBRANCH} is defined in gnatbuild.eclass and depends
+# only on $PV, so should be safe to use in DEPEND/SRC_URI
+
+KEYWORDS="~amd64 ~x86"
+
+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"
+}
diff --git a/dev-lang/gnat-gcc/metadata.xml b/dev-lang/gnat-gcc/metadata.xml
new file mode 100644
index 000000000000..6c4974bade24
--- /dev/null
+++ b/dev-lang/gnat-gcc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>ada</herd>
+<longdescription>
+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.
+</longdescription>
+</pkgmetadata>