diff options
author | David Holm <dholm@gentoo.org> | 2004-08-02 12:44:17 +0000 |
---|---|---|
committer | David Holm <dholm@gentoo.org> | 2004-08-02 12:44:17 +0000 |
commit | 80dcb23af2626a5868611d550db7615b7a257987 (patch) | |
tree | d97496d1be94cbd80e87b3676c263c8cb1961c8c /dev-lang | |
parent | Stable for sparc. (Completely avoid bug 32391) (Manifest recommit) (diff) | |
download | gentoo-2-80dcb23af2626a5868611d550db7615b7a257987.tar.gz gentoo-2-80dcb23af2626a5868611d550db7615b7a257987.tar.bz2 gentoo-2-80dcb23af2626a5868611d550db7615b7a257987.zip |
Removed GNAT 5.0 snapshots and added ppc support to 3.41
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/gnat/ChangeLog | 8 | ||||
-rw-r--r-- | dev-lang/gnat/Manifest | 8 | ||||
-rw-r--r-- | dev-lang/gnat/files/digest-gnat-3.41 | 1 | ||||
-rw-r--r-- | dev-lang/gnat/gnat-3.41.ebuild | 28 | ||||
-rw-r--r-- | dev-lang/gnat/gnat-5.0_pre20030822.ebuild | 145 | ||||
-rw-r--r-- | dev-lang/gnat/gnat-5.0_pre20031005.ebuild | 154 |
6 files changed, 29 insertions, 315 deletions
diff --git a/dev-lang/gnat/ChangeLog b/dev-lang/gnat/ChangeLog index cebe0c8ed5ae..49dd8cc0b68d 100644 --- a/dev-lang/gnat/ChangeLog +++ b/dev-lang/gnat/ChangeLog @@ -1,11 +1,15 @@ # ChangeLog for dev-lang/gnat # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/ChangeLog,v 1.24 2004/08/02 07:46:20 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/ChangeLog,v 1.25 2004/08/02 12:44:17 dholm Exp $ + + 02 Aug 2004; David Holm <dholm@gentoo.org> gnat-3.41.ebuild, + -gnat-5.0_pre20030822.ebuild, -gnat-5.0_pre20031005.ebuild: + Removed GNAT 5.0 snapshots and added ppc support to 3.41. *gnat-3.41 (02 Aug 2004) 02 Aug 2004; David Holm <dholm@gentoo.org> +gnat-3.41.ebuild: - Removed GNAT 5.0 snapshots and added the new GCC 3.4.1-based GNAT. + Added the new GCC 3.4.1-based GNAT. 30 Apr 2004; David Holm <dholm@gentoo.org> gnat-3.14p.ebuild: Put gnat-3.14p files on Gentoo mirrors. diff --git a/dev-lang/gnat/Manifest b/dev-lang/gnat/Manifest index 1e0e920281ca..c1d3d504c9c8 100644 --- a/dev-lang/gnat/Manifest +++ b/dev-lang/gnat/Manifest @@ -1,12 +1,9 @@ -MD5 37bb72a9b03c0a2413febe21c7df154b ChangeLog 4301 MD5 b8821aa97616ac6b39d3f9287365f676 gnat-3.14p.ebuild 5602 MD5 a324b57d6b8c671f7b602837987bd7cf gnat-3.15p-r3.ebuild 6091 MD5 b9333162fb87ac124e1fe5b0e40de968 gnat-3.15p.ebuild 5658 -MD5 32b4d85a89af99eb39151e029693add0 gnat-5.0_pre20030822.ebuild 4322 MD5 4b8299d1078b0c3a88969f43c9ae6a64 metadata.xml 927 -MD5 27e8d85cb0ed7b2ff0a57db013e308f8 gnat-3.41.ebuild 3785 -MD5 d0d1913a7c06379cbeb2f25ae15f706f gnat-5.0_pre20031005.ebuild 4766 -MD5 f8f626b880eb4ed2985834912d6f8af6 files/digest-gnat-3.41 225 +MD5 76b750130ee6754371a91fd4ffc0918b gnat-3.41.ebuild 4006 +MD5 6a1bd174ac7e6e014f5fba5058ba85c4 ChangeLog 4456 MD5 59500f81e672cff22232586fc278547b files/digest-gnat-3.14p 213 MD5 737e39907fb4f28640a1b4cbbc1cdc78 files/digest-gnat-3.15p 216 MD5 5710cea3459403d02bc4ad4674fa7d1b files/digest-gnat-3.15p-r3 378 @@ -14,3 +11,4 @@ MD5 6055ef6f0b3cd0df65743bfedb9de925 files/gnat-3.15p-gentoo-nonx86.patch.bz2 21 MD5 f2825770e20893d32738f4106cd3d628 files/gnat-3.15p-gentoo.patch.bz2 3754 MD5 6c454f942791a6212d8b5cf5c92aa2d0 files/gnat-3.15p-i686-pc-linux-gnu-bin.patch 605 MD5 7fabcf7198fb4001adfba250899e0024 files/gnat-3.15p-noaddr2line.patch.bz2 542 +MD5 ffcd9ae5ebd258ffd9c88fc3cf225bd6 files/digest-gnat-3.41 315 diff --git a/dev-lang/gnat/files/digest-gnat-3.41 b/dev-lang/gnat/files/digest-gnat-3.41 index 7f9595fe7070..5fd749ffc912 100644 --- a/dev-lang/gnat/files/digest-gnat-3.41 +++ b/dev-lang/gnat/files/digest-gnat-3.41 @@ -1,3 +1,4 @@ MD5 4b05b134baf92457494a0f4a28aa5213 gcc-core-3.4.1.tar.bz2 12862544 MD5 30128194f14bda7cead8f46d9a62a06e gcc-ada-3.4.1.tar.bz2 3460295 MD5 57c060cd1ccef8b1ae9165b11d98780a gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz 13482938 +MD5 33a146f39c04b2ac055ae81585622d08 gnat-3.15p-powerpc-unknown-linux-gnu.tar.bz2 8228916 diff --git a/dev-lang/gnat/gnat-3.41.ebuild b/dev-lang/gnat/gnat-3.41.ebuild index 21188c6659dd..e6c541e1ff91 100644 --- a/dev-lang/gnat/gnat-3.41.ebuild +++ b/dev-lang/gnat/gnat-3.41.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/gnat-3.41.ebuild,v 1.1 2004/08/02 07:46:20 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/gnat-3.41.ebuild,v 1.2 2004/08/02 12:44:17 dholm Exp $ inherit gnat @@ -8,19 +8,27 @@ MY_PV=3.4.1 DESCRIPTION="GNAT Ada Compiler" SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/gcc-${MY_PV}/gcc-core-${MY_PV}.tar.bz2 ftp://gcc.gnu.org/pub/gcc/releases/gcc-${MY_PV}/gcc-ada-${MY_PV}.tar.bz2 - x86? ( http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz )" + x86? ( http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz ) + ppc? ( mirror://gentoo/gnat-3.15p-powerpc-unknown-linux-gnu.tar.bz2 )" HOMEPAGE="http://www.gnat.com/" DEPEND="x86? ( >=app-shells/tcsh-6.0 )" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~x86 ~ppc" LICENSE="GMGPL" IUSE="" S="${WORKDIR}/gcc-${MY_PV}" GNATBUILD="${WORKDIR}/build" -GNATBOOT="${WORKDIR}/boot" -GNATBOOTINST="${WORKDIR}/gnat-3.15p-i686-pc-linux-gnu-bin" +case ${ARCH} in + x86) GNATBOOT="${WORKDIR}/boot" + GNATBOOTINST="${WORKDIR}/${P}-i686-pc-linux-gnu-bin" + ;; + ppc) + GNATBOOT="${WORKDIR}/gnat-3.15p-powerpc-unknown-linux-gnu" + ;; +esac + CFLAGS="-O -gnatpgn" @@ -28,10 +36,12 @@ src_unpack() { unpack ${A} # Install the bootstrap compiler - cd "${GNATBOOTINST}" - patch -p1 < ${FILESDIR}/gnat-3.15p-i686-pc-linux-gnu-bin.patch - echo $'\n'3$'\n'${GNATBOOT}$'\n' | ./doconfig > doconfig.log 2>&1 - ./doinstall + if [ "${ARCH}" = "x86" ]; then + cd "${GNATBOOTINST}" + patch -p1 < ${FILESDIR}/gnat-3.15p-i686-pc-linux-gnu-bin.patch + echo $'\n'3$'\n'${GNATBOOT}$'\n' | ./doconfig > doconfig.log 2>&1 + ./doinstall + fi # Prepare the gcc source directory cd "${S}" diff --git a/dev-lang/gnat/gnat-5.0_pre20030822.ebuild b/dev-lang/gnat/gnat-5.0_pre20030822.ebuild deleted file mode 100644 index 97028123cb8f..000000000000 --- a/dev-lang/gnat/gnat-5.0_pre20030822.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/gnat-5.0_pre20030822.ebuild,v 1.5 2004/06/24 22:49:34 agriffis Exp $ - -inherit gnat - -DESCRIPTION="GNAT Ada Compiler" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz - ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.2.3/gcc-core-3.2.3.tar.bz2" -HOMEPAGE="http://www.gnat.com/" - -DEPEND=">=app-shells/tcsh-6.11" -SLOT="0" -KEYWORDS="~x86" -LICENSE="GMGPL" -IUSE="" - -S="${WORKDIR}/gcc-3.2.3" -GNATBUILD="${WORKDIR}/build" -GNATDIR="${WORKDIR}/${P}" -GNATBOOT="${WORKDIR}/boot" -GNATBOOTINST="${WORKDIR}/gnat-3.15p-i686-pc-linux-gnu-bin" - -src_unpack() { - unpack ${A} - - # Install the bootstrap compiler - cd "${GNATBOOTINST}" - patch -p1 < ${FILESDIR}/gnat-3.15p-i686-pc-linux-gnu-bin.patch - echo $'\n'3$'\n'${GNATBOOT}$'\n' | ./doconfig > doconfig.log 2>&1 - ./doinstall - - # Prepare the gcc source directory - cd "${S}" - mv "${GNATDIR}" "${S}/gcc/ada" - patch -p0 < "gcc/ada/gcc-32.dif" - touch gcc/cstamp-h.in - touch gcc/ada/[es]info.h - touch gcc/ada/nmake.ad[bs] - mkdir -p "${GNATBUILD}" -} - -src_compile() { - # Set some paths to our bootstrap compiler. - local GCC_EXEC_PREFIX="${GNATBOOT}/lib/gcc-lib/i686-pc-linux-gnu/3.2.3" - local PATH="${GNATBOOT}/bin:${PATH}" - local CFLAGS="-O2" - local LDFLAGS="-L${GCC_EXEC_PREFIX} -L${GNATBOOTINST}" - local CC="${GNATBOOT}/bin/gcc" - - # Configure gcc - cd "${GNATBUILD}" - "${S}"/configure --prefix=/usr \ - --program-prefix=gnat \ - --enable-languages="c,ada" \ - --disable-nls \ - --libdir=/usr/lib/ada \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || die "configure failed" - - # Compile helper tools - cd "${GNATBOOT}" - cp ${S}/gcc/ada/xtreeprs.adb . - cp ${S}/gcc/ada/xsinfo.adb . - cp ${S}/gcc/ada/xeinfo.adb . - cp ${S}/gcc/ada/xnmake.adb . - gnatmake xtreeprs && \ - gnatmake xsinfo && \ - gnatmake xeinfo && \ - gnatmake xnmake || die "building helper tools" - - for i in `find ${S}/gcc/ada -name '*.ad[sb]'`; do \ - sed -i -e "s/\"gcc\"/\"gnatgcc\"/g" ${i}; \ - done - - # Compile it by first using the bootstrap compiler and then bootstrapping - # our own version. Finally compile the libraries and tools. - cd "${GNATBUILD}" - sed -i -e "s|-laddr2line|${GNATBOOTINST}/libaddr2line.a|" gcc/ada/Makefile - make CC="gcc" CFLAGS="-O2" \ - || die "died while building compiler" - make CC="gcc" CFLAGS="-O2" bootstrap \ - || die "died while bootstrapping" - cd "${GNATBUILD}/gcc" - make CC="gcc" GNATLIBCFLAGS="-O2" gnatlib-shared \ - || die "died while building gnatlib" - make CC="gcc" CFLAGS="-O2" gnattools \ - || die "died while building gnattools" -} - -src_install() { - # Do allow symlinks in /usr/lib/gcc-lib/${CHOST}/3.2.3/include as - # this can break the build. - for x in ${WORKDIR}/build/gcc/include/* - do - if [ -L ${x} ] - then - rm -f ${x} - fi - done - - # Install gnatgcc, tools and native threads library - cd "${GNATBUILD}" - #make prefix="${D}/usr" libdir="${D}/usr/lib/ada" install \ - # || die "installing" - make prefix=${D}/usr \ - libdir=${D}/usr/lib/ada \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - install || die "died while installing" - - # These are all provided by gcc - rm -rf ${D}/usr/share/info - rm -rf ${D}/usr/share/man - rm -rf ${D}/usr/share/make - - dodir "/usr/lib/ada/gcc-lib/${CHOST}/3.2.3/rts-native" - - # Move the native threads library - cd "${D}/usr/lib/ada/gcc-lib/${CHOST}/3.2.3" - mv adalib adainclude rts-native - - # Make native threads the default - ln -s rts-native/adalib adalib - ln -s rts-native/adainclude adainclude -} - -pkg_postinst() { - # Notify the user what changed - einfo "" - einfo "This is a snapshot of the coming GNAT-5.0 based on GCC 3.2.3. It is" - einfo "not stable and I wouldn't recommend using this version unless you" - einfo "have a good reason to use it." - einfo "The version of GNAT in GCC is based on an old patch of GNAT-5.0" - einfo "which has been crippled by the GCC team to make it less intrusive" - einfo "in respect of other languages supported by GCC. This snapshot" - einfo "is the real thing and there is no point whatsoever to compile" - einfo "GCC with Ada support." - einfo "" - einfo "The compiler has been installed as gnatgcc, and the coverage testing" - einfo "tool as gnatgcov." - einfo "" -} diff --git a/dev-lang/gnat/gnat-5.0_pre20031005.ebuild b/dev-lang/gnat/gnat-5.0_pre20031005.ebuild deleted file mode 100644 index d6e40028bd50..000000000000 --- a/dev-lang/gnat/gnat-5.0_pre20031005.ebuild +++ /dev/null @@ -1,154 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gnat/gnat-5.0_pre20031005.ebuild,v 1.3 2004/06/24 22:49:34 agriffis Exp $ - -inherit gnat - -DESCRIPTION="GNAT Ada Compiler" -SRC_URI="mirror://gentoo/${P}.tar.bz2 - x86? ( http://gd.tuwien.ac.at/languages/ada/gnat/3.15p/gnat-3.15p-i686-pc-redhat71-gnu-bin.tar.gz ) - ftp://gcc.gnu.org/pub/gcc/releases/gcc-3.2.3/gcc-core-3.2.3.tar.bz2" -HOMEPAGE="http://www.gnat.com/" - -DEPEND="x86? ( >=app-shells/tcsh-6.0 )" -SLOT="0" -KEYWORDS="~x86" -LICENSE="GMGPL" -IUSE="" - -S="${WORKDIR}/gcc-3.2.3" -GNATBUILD="${WORKDIR}/build" -GNATDIR="${WORKDIR}/${P}" -GNATBOOT="${WORKDIR}/boot" -GNATBOOTINST="${WORKDIR}/gnat-3.15p-i686-pc-linux-gnu-bin" - -CFLAGS="-O2 -gnatpgn" - -src_unpack() { - unpack ${A} - - # Install the bootstrap compiler - cd "${GNATBOOTINST}" - patch -p1 < ${FILESDIR}/gnat-3.15p-i686-pc-linux-gnu-bin.patch - echo $'\n'3$'\n'${GNATBOOT}$'\n' | ./doconfig > doconfig.log 2>&1 - ./doinstall - - # Prepare the gcc source directory - cd "${S}" - mv "${GNATDIR}" "${S}/gcc/ada" - patch -p0 < "gcc/ada/gcc-32.dif" - touch gcc/cstamp-h.in - touch gcc/ada/[es]info.h - touch gcc/ada/nmake.ad[bs] - mkdir -p "${GNATBUILD}" -} - -src_compile() { - # Set some paths to our bootstrap compiler. - local GCC_EXEC_PREFIX="${GNATBOOT}/lib/gcc-lib/i686-pc-linux-gnu/3.2.3" - local PATH="${GNATBOOT}/bin:${PATH}" - local LDFLAGS="-L${GCC_EXEC_PREFIX} -L${GNATBOOTINST}" - local CC="${GNATBOOT}/bin/gcc" - - # Configure gcc - cd "${GNATBUILD}" - "${S}"/configure --prefix=/usr \ - --program-prefix=gnat \ - --enable-languages="c,ada" \ - --disable-nls \ - --libdir=/usr/lib/ada \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - || die "configure failed" - - # Compile helper tools - cd "${GNATBOOT}" - cp ${S}/gcc/ada/xtreeprs.adb . - cp ${S}/gcc/ada/xsinfo.adb . - cp ${S}/gcc/ada/xeinfo.adb . - cp ${S}/gcc/ada/xnmake.adb . - gnatmake xtreeprs && \ - gnatmake xsinfo && \ - gnatmake xeinfo && \ - gnatmake xnmake || die "building helper tools" - - for i in `find ${S}/gcc/ada -name '*.ad[sb]'`; do \ - sed -i -e "s/\"gcc\"/\"gnatgcc\"/g" ${i}; \ - done - - # Compile it by first using the bootstrap compiler and then bootstrapping - # our own version. Finally compile the libraries and tools. - cd "${GNATBUILD}" - sed -i -e "s|-laddr2line|${GNATBOOTINST}/libaddr2line.a|" gcc/ada/Makefile - einfo "Building compiler" - make CC="gcc" CFLAGS="${CFLAGS}" LANGUAGES="c ada gcov" || - die "Failed while running inital compilation!" - make CC="gcc" CFLAGS="${CFLAGS}" LANGUAGES="c ada gcov" bootstrap || - die "Died while bootstrapping!" - cd "${GNATBUILD}/gcc" - einfo "Building shared gnatlib" - make CC="gcc" CFLAGS="${CFLAGS}" GNATLIBCFLAGS="${CFLAGS} -fPIC" \ - gnatlib-shared || - die "Failed to build the shared version of gnatlib!" - einfo "Building gnattools" - make CC="gcc" CFLAGS="${CFLAGS}" gnattools || - die "Failed to build gnattools!" -} - -src_install() { - # Do allow symlinks in /usr/lib/gcc-lib/${CHOST}/3.2.3/include as - # this can break the build. - for x in ${WORKDIR}/build/gcc/include/* - do - if [ -L ${x} ] - then - rm -f ${x} - fi - done - - # Install gnatgcc, tools and native threads library - cd "${GNATBUILD}" - #make prefix="${D}/usr" libdir="${D}/usr/lib/ada" install \ - # || die "installing" - make prefix=${D}/usr \ - libdir=${D}/usr/lib/ada \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - install || die "died while installing" - - # These are all provided by gcc - rm -rf ${D}/usr/share/info - rm -rf ${D}/usr/share/man - rm -rf ${D}/usr/share/make - - dodir "/usr/lib/ada/gcc-lib/${CHOST}/3.2.3/rts-native" - - # Move the native threads library - cd "${D}/usr/lib/ada/gcc-lib/${CHOST}/3.2.3" - mv adalib adainclude rts-native - - # Make native threads the default - ln -s rts-native/adalib adalib - ln -s rts-native/adainclude adainclude -} - -pkg_postinst() { - # Notify the user what changed - einfo "" - einfo "This is a snapshot of the coming GNAT-5.0 based on GCC 3.2.3. It is" - einfo "not stable and I wouldn't recommend using this version unless you" - einfo "have a good reason to use it." - einfo "The version of GNAT in GCC is based on an old patch of GNAT-5.0" - einfo "which has been crippled by the GCC team to make it less intrusive" - einfo "in respect of other languages supported by GCC. This snapshot" - einfo "is the real thing and there is no point whatsoever to compile" - einfo "GCC with Ada support." - einfo "" - einfo "The compiler has been installed as gnatgcc, and the coverage testing" - einfo "tool as gnatgcov." - einfo "" - einfo "If you are upgrading from GNAT-3.15p or older you will have to" - einfo "reemerge all Ada packages as GNAT-5.0 has updated to a version of" - einfo "GCC which is not backwards compatible with 2.8.1." - einfo "" -} |