diff options
author | George Shapovalov <george@gentoo.org> | 2006-06-10 20:57:36 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2006-06-10 20:57:36 +0000 |
commit | 2d84cfa73a42e801e4e66c16eab0ea81d5ef9cdc (patch) | |
tree | 7ae9a3e55ed3b03470da8cfba565722f0b609fc7 /dev-lang/gpc | |
parent | Fix building in et_EE locale #131432 by Andres Toomsalu. (diff) | |
download | gentoo-2-2d84cfa73a42e801e4e66c16eab0ea81d5ef9cdc.tar.gz gentoo-2-2d84cfa73a42e801e4e66c16eab0ea81d5ef9cdc.tar.bz2 gentoo-2-2d84cfa73a42e801e4e66c16eab0ea81d5ef9cdc.zip |
pulled old version for which matching gcc has been removed
(Portage version: 2.1)
Diffstat (limited to 'dev-lang/gpc')
-rw-r--r-- | dev-lang/gpc/Manifest | 31 | ||||
-rw-r--r-- | dev-lang/gpc/files/digest-gpc-20040516 | 2 | ||||
-rw-r--r-- | dev-lang/gpc/files/digest-gpc-20050331 | 2 | ||||
-rw-r--r-- | dev-lang/gpc/gpc-20040516.ebuild | 180 | ||||
-rw-r--r-- | dev-lang/gpc/gpc-20050331.ebuild | 179 |
5 files changed, 15 insertions, 379 deletions
diff --git a/dev-lang/gpc/Manifest b/dev-lang/gpc/Manifest index 0f3d725eae2b..96cbdaa0bc78 100644 --- a/dev-lang/gpc/Manifest +++ b/dev-lang/gpc/Manifest @@ -1,18 +1,17 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 af540aa384ba0cc315a49efa75c7b26c ChangeLog 2536 -MD5 7d39eec7b0bdf6f3ba14b266f4799d2a files/digest-gpc-20040516 129 -MD5 1ae0cf0dc51fa1811dc89ec5f4a1ccb4 files/digest-gpc-20050331 130 -MD5 c6e6f9112b5cbbe602a6a6b0ad9ffa93 files/digest-gpc-20051104 135 -MD5 18b0357cd7e1abeabb5072b7989b72ad gpc-20040516.ebuild 4518 -MD5 1f77a71e0c3fa6606ca65ded8517ba0c gpc-20050331.ebuild 4421 +DIST gcc-core-3.4.5.tar.bz2 13397308 RMD160 d0b1f2748929d319b68e80542edfe1251a867c81 SHA1 0a21072e1f5d7cbc50f3b045b1fd45c85be1fad1 SHA256 8a2824b12a1cae8b68de3be0a8fd2da14918462e6afa27c3578ccfc8ab10d0fc +DIST gpc-20051104.tar.bz2 2616173 +EBUILD gpc-20051104.ebuild 4089 RMD160 52445f670ea47703856c34aecb1f37d6fb356512 SHA1 58ce812edf4afe45eb2bac1c0aa0db41f4e15696 SHA256 61721a8183bdae91a622f1d6a756558665125a4f6da9255afc7f068f52ad1fcd MD5 36e5d153d405d0e532c396e4d1049486 gpc-20051104.ebuild 4089 +RMD160 52445f670ea47703856c34aecb1f37d6fb356512 gpc-20051104.ebuild 4089 +SHA256 61721a8183bdae91a622f1d6a756558665125a4f6da9255afc7f068f52ad1fcd gpc-20051104.ebuild 4089 +MISC ChangeLog 2695 RMD160 1f3b4d7d66de9c605ec7167c3ad1d3de5ea5b903 SHA1 1b3f6f0f0d5a5fdf64bbc71382a2d7676c2142c4 SHA256 cea0b6703ea14505321fdd05853f55494d586f12a2d2ec639b6f37fdb85221d7 +MD5 75e13e09e04defa8f6b20ac071f5cd45 ChangeLog 2695 +RMD160 1f3b4d7d66de9c605ec7167c3ad1d3de5ea5b903 ChangeLog 2695 +SHA256 cea0b6703ea14505321fdd05853f55494d586f12a2d2ec639b6f37fdb85221d7 ChangeLog 2695 +MISC metadata.xml 224 RMD160 001a3a6ee7e3ca9e70b53c116f7df0ebe1d3e8a1 SHA1 5244c902037d5a5f27728184eceeaeddc6a7d44e SHA256 27b05468d7c517e62392b84aafae8e26e08a48f017f39ba67f3df769cabb829a MD5 1895a0b05d28c3ad7eaabcd41791e3eb metadata.xml 224 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) - -iD8DBQFD2CWtKRy60XGEcJIRAvlhAJ9a4dYGgN5SxnlWG2r9uPzb2VzE7QCbBSIz -D7b6ytimzqWsCu3TJZIz41o= -=ka7O ------END PGP SIGNATURE----- +RMD160 001a3a6ee7e3ca9e70b53c116f7df0ebe1d3e8a1 metadata.xml 224 +SHA256 27b05468d7c517e62392b84aafae8e26e08a48f017f39ba67f3df769cabb829a metadata.xml 224 +MD5 9dfc29741c322dcaf7589eab6e96358f files/digest-gpc-20051104 319 +RMD160 2c3f81f85e03471acbef7fc007db30db8ece93c3 files/digest-gpc-20051104 319 +SHA256 97aa8a547882f47ca37c447706ea0fd9569a39d7fa1b3cc64eb38c5fa0a8d799 files/digest-gpc-20051104 319 diff --git a/dev-lang/gpc/files/digest-gpc-20040516 b/dev-lang/gpc/files/digest-gpc-20040516 deleted file mode 100644 index 64a525916585..000000000000 --- a/dev-lang/gpc/files/digest-gpc-20040516 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 34521ddbdbf9d1c9ebeb9d82f5ea0bc3 gpc-20040516.tar.gz 3146155 -MD5 3c6cfd9fcd180481063b4058cf6faff2 gcc-3.3.3.tar.bz2 23279245 diff --git a/dev-lang/gpc/files/digest-gpc-20050331 b/dev-lang/gpc/files/digest-gpc-20050331 deleted file mode 100644 index a40fc68066f2..000000000000 --- a/dev-lang/gpc/files/digest-gpc-20050331 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 cdc1460ba7b3cc099d404c5fa1202f8a gpc-20050331.tar.bz2 2670786 -MD5 e744b30c834360fccac41eb7269a3011 gcc-3.4.3.tar.bz2 27425338 diff --git a/dev-lang/gpc/gpc-20040516.ebuild b/dev-lang/gpc/gpc-20040516.ebuild deleted file mode 100644 index 8f76b0e8cd99..000000000000 --- a/dev-lang/gpc/gpc-20040516.ebuild +++ /dev/null @@ -1,180 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gpc/gpc-20040516.ebuild,v 1.6 2005/04/17 21:28:18 george Exp $ - -inherit eutils flag-o-matic - -strip-flags -filter-flags "-pipe" - -#due to cache requirements we cannot dynamically match gcc version -#so sticking to a particular (and working) one -GCC_PV="3.3.3" - -DESCRIPTION="Gnu Pascal Compiler" -HOMEPAGE="http://gnu-pascal.de" -SRC_URI="http://gnu-pascal.de/beta/${P}.tar.gz - ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCC_PV}/gcc-${GCC_PV}.tar.bz2" -#only need gcc-core (smaller download), but user will likely have this one already - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~sparc" -IUSE="nls" - -DEPEND="virtual/libc - =sys-devel/gcc-${GCC_PV}*" - -S="${WORKDIR}/gcc-${GCC_PV}" - -# Theoretical cross compiler support -[ ! -n "${CCHOST}" ] && export CCHOST="${CHOST}" - -LOC="/usr" -#GCC_PVR=$(emerge -s gcc|grep "installed: 3.2"|cut -d ':' -f 2) -LIBPATH="${LOC}/lib/gcc-lib/${CCHOST}/${GCC_PV}" -#BINPATH="${LOC}/${CCHOST}/gcc-bin/${GCC_PV}" -DATAPATH="${LOC}/share" -# Dont install in /usr/include/g++-v3/, but in gcc internal directory. -# We will handle /usr/include/g++-v3/ with gcc-config ... -STDCXX_INCDIR="${LIBPATH}/include/g++-v${MY_PV/\.*/}" - -src_unpack() { - unpack ${A} -# unpack "${P}.tar.gz" -# unpack "gcc-${GCC_PV}.tar.bz2" - - cd "${WORKDIR}/${P}/p" - - #comment out read to let ebuild continue - sed -i -e "s:read:#read:" config-lang.in || die "seding autoreplies failed" - #and remove that P var (it doesn't seem to do much but to fail inside the ebuild) - sed -i -e "s:\$(P)::" Make-lang.in || die "seding Make-lan.in failed" - - cd "${WORKDIR}/${P}" - mv p "${S}/gcc/" - - # Build in a separate build tree - mkdir -p ${WORKDIR}/build -} - -src_compile() { - local myconf - - if ! use nls - then - myconf="${myconf} --disable-nls" - else - myconf="${myconf} --enable-nls --without-included-gettext" - fi - - #Makefiles seems to use ${P} internally, need to wrap around -# SAVEP="${P}" -# unset P - - cd ${WORKDIR}/build - - einfo "Configuring GCC for GPC build..." - addwrite "/dev/zero" - ${S}/configure --prefix=${LOC} \ - --mandir=${DATAPATH}/man \ - --infodir=${DATAPATH}/info \ - --enable-shared \ - --host=${CHOST} \ - --target=${CCHOST} \ - --with-system-zlib \ - --enable-languages=pascal \ - --enable-threads=posix \ - --enable-long-long \ - --disable-checking \ - --disable-libunwind-exceptions \ - --enable-cstdio=stdio \ - --enable-clocale=generic \ - --enable-__cxa_atexit \ - --enable-version-specific-runtime-libs \ - --with-gxx-include-dir=${STDCXX_INCDIR} \ - --with-local-prefix=${LOC}/local \ - ${myconf} || die "configure failed" - - touch ${S}/gcc/c-gperf.h - - einfo "Building GPC..." - # Fix for our libtool-portage.patc - S="${WORKDIR}/build" emake -j1 LIBPATH="${LIBPATH}" || die "make failed" - -# P="${SAVEP}" -} - -src_install () { - # Do not allow symlinks in ${LOC}/lib/gcc-lib/${CHOST}/${PV}/include as - # this can break the build. - for x in cd ${S}/gcc/include/* - do - if [ -L ${x} ] - then - rm -f ${x} - fi - done - - einfo "Installing GPC..." - -# SAVEP="${P}" -# unset P - - cd ${WORKDIR}/build - - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - FAKE_ROOT="${D}" \ - install || die - - #now for the true magic :) - #gpc is based on gcc and therefore rebuilds gcc backend when compiled - #we do not want to overwrite it, do we? (even though the binaries are supposed to be the same) - #so do a dirty hack: - #go in to the image dir and delete everything inappropriate - - cd ${D}/usr/ - - mv bin bin.orig - mkdir bin - mv bin.orig/gpc* bin - rm -rf bin.orig - - #now lib - cd ${D}/usr/lib/ - rm libiberty.a - - cd ${D}/usr/lib/gcc-lib/${CHOST}/ - mv ${GCC_PV} ${GCC_PV}.orig - mkdir ${GCC_PV} - mv ${GCC_PV}.orig/{gpc1,gpcpp,libgpc.a,units} ${GCC_PV} - mkdir ${GCC_PV}/include - #mv ${GCC_PV}.orig/include/{gpc-in-c.h,curses.h,mm.h,ncurses.h} ${GCC_PV}/include/ - mv ${GCC_PV}.orig/include/gpc-in-c.h ${GCC_PV}/include/ - rm -rf ${GCC_PV}.orig - - - # Install documentation. - #gpc wants to install some files and a lot of demos under /usr/doc - #lets move it under /usr/share/doc - #(Ok, this is not the most buitiful way to do it, but it seems to be the easiest here :)) - cd ${D}/usr/doc - mkdir -p ${D}/usr/share/doc/${PF} - mv gpc/* ${D}/usr/share/doc/${PF} - cd ${D}/usr/share/doc/${PF} - for fn in *; do [ -f $fn ] && gzip $fn; done - - #clean-up info pages - cd ${D}/usr/share/info - rm -rf cpp* gcc* - - #final clean up - cd ${D}/usr/ - rm -rf doc - rmdir include - rm -rf share/locale - -} diff --git a/dev-lang/gpc/gpc-20050331.ebuild b/dev-lang/gpc/gpc-20050331.ebuild deleted file mode 100644 index e1a8d1395139..000000000000 --- a/dev-lang/gpc/gpc-20050331.ebuild +++ /dev/null @@ -1,179 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/gpc/gpc-20050331.ebuild,v 1.1 2005/04/17 21:28:18 george Exp $ - -inherit eutils flag-o-matic - -strip-flags -filter-flags "-pipe" - -#due to cache requirements we cannot dynamically match gcc version -#so sticking to a particular (and working) one -GCC_PV="3.4.3" - -DESCRIPTION="Gnu Pascal Compiler" -HOMEPAGE="http://gnu-pascal.de" -SRC_URI="http://www.g-n-u.de/gpc/${P}.tar.bz2 - ftp://gcc.gnu.org/pub/gcc/releases/gcc-${GCC_PV}/gcc-${GCC_PV}.tar.bz2" -#only need gcc-core (smaller download), but user will likely have this one already - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="nls" - -DEPEND="virtual/libc - =sys-devel/gcc-${GCC_PV}*" - -S="${WORKDIR}/gcc-${GCC_PV}" - -# Theoretical cross compiler support -[ ! -n "${CCHOST}" ] && export CCHOST="${CHOST}" - -LOC="/usr" -#GCC_PVR=$(emerge -s gcc|grep "installed: 3.2"|cut -d ':' -f 2) -LIBPATH="${LOC}/lib/gcc-lib/${CCHOST}/${GCC_PV}" -#BINPATH="${LOC}/${CCHOST}/gcc-bin/${GCC_PV}" -DATAPATH="${LOC}/share" -# Dont install in /usr/include/g++-v3/, but in gcc internal directory. -# We will handle /usr/include/g++-v3/ with gcc-config ... -STDCXX_INCDIR="${LIBPATH}/include/g++-v${MY_PV/\.*/}" - -src_unpack() { - unpack ${A} -# unpack "${P}.tar.gz" -# unpack "gcc-${GCC_PV}.tar.bz2" - - cd "${WORKDIR}/p" - - #comment out read to let ebuild continue - sed -i -e "s:read:#read:" config-lang.in || die "seding autoreplies failed" - #and remove that P var (it doesn't seem to do much but to fail inside the ebuild) - sed -i -e "s:\$(P)::" Make-lang.in || die "seding Make-lan.in failed" - - cd "${WORKDIR}" - mv p "${S}/gcc/" - - # Build in a separate build tree - mkdir -p ${WORKDIR}/build -} - -src_compile() { - local myconf - - if ! use nls - then - myconf="${myconf} --disable-nls" - else - myconf="${myconf} --enable-nls --without-included-gettext" - fi - - #Makefiles seems to use ${P} internally, need to wrap around -# SAVEP="${P}" -# unset P - - cd ${WORKDIR}/build - - einfo "Configuring GCC for GPC build..." - addwrite "/dev/zero" - ${S}/configure --prefix=${LOC} \ - --mandir=${DATAPATH}/man \ - --infodir=${DATAPATH}/info \ - --enable-shared \ - --host=${CHOST} \ - --target=${CCHOST} \ - --with-system-zlib \ - --enable-languages=pascal \ - --enable-threads=posix \ - --enable-long-long \ - --disable-checking \ - --disable-libunwind-exceptions \ - --enable-cstdio=stdio \ - --enable-clocale=generic \ - --enable-__cxa_atexit \ - --enable-version-specific-runtime-libs \ - --with-gxx-include-dir=${STDCXX_INCDIR} \ - --with-local-prefix=${LOC}/local \ - ${myconf} || die "configure failed" - - touch ${S}/gcc/c-gperf.h - - einfo "Building GPC..." - # Fix for our libtool-portage.patc - S="${WORKDIR}/build" emake -j1 LIBPATH="${LIBPATH}" || die "make failed" - -# P="${SAVEP}" -} - -src_install () { - # Do not allow symlinks in ${LOC}/lib/gcc-lib/${CHOST}/${PV}/include as - # this can break the build. - for x in cd ${S}/gcc/include/* - do - if [ -L ${x} ] - then - rm -f ${x} - fi - done - - einfo "Installing GPC..." - -# SAVEP="${P}" -# unset P - - cd ${WORKDIR}/build - - make \ - prefix=${D}/usr \ - mandir=${D}/usr/share/man \ - infodir=${D}/usr/share/info \ - FAKE_ROOT="${D}" \ - install || die - - #now for the true magic :) - #gpc is based on gcc and therefore rebuilds gcc backend when compiled - #we do not want to overwrite it, do we? (even though the binaries are supposed to be the same) - #so do a dirty hack: - #go in to the image dir and delete everything inappropriate - - cd ${D}/usr/ - - mv bin bin.orig - mkdir bin - mv bin.orig/gpc* bin - rm -rf bin.orig - - #now lib - cd ${D}/usr/lib/ - rm libiberty.a - - cd ${D}/usr/lib/gcc-lib/${CHOST}/ - mv ${GCC_PV} ${GCC_PV}.orig - mkdir ${GCC_PV} - mv ${GCC_PV}.orig/{gpc1,gpcpp,libgpc.a,units} ${GCC_PV} - mkdir ${GCC_PV}/include - #mv ${GCC_PV}.orig/include/{gpc-in-c.h,curses.h,mm.h,ncurses.h} ${GCC_PV}/include/ - mv ${GCC_PV}.orig/include/gpc-in-c.h ${GCC_PV}/include/ - rm -rf ${GCC_PV}.orig - - - # Install documentation. - #gpc wants to install some files and a lot of demos under /usr/doc - #lets move it under /usr/share/doc - cd ${D}/usr/doc - mkdir -p ${D}/usr/share/doc/${PF} - mv gpc/* ${D}/usr/share/doc/${PF} - cd ${D}/usr/share/doc/${PF} - for fn in *; do [ -f $fn ] && gzip $fn; done - - #clean-up info pages - cd ${D}/usr/share/info - rm -rf cpp* gcc* - - #final clean up - cd ${D}/usr/ - rm -rf doc - rmdir include - rm -rf share/locale - -} |