summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodney Rees <manson@gentoo.org>2002-12-15 18:17:48 +0000
committerRodney Rees <manson@gentoo.org>2002-12-15 18:17:48 +0000
commit684e1aa34623ebeff3458dbf239071e110bb003b (patch)
tree2315ab2373bcf770b6ec6be31e2b9a0d6d3c56fe /sys-devel/egcs64-sparc
parentversion bump, KEYWORD fixes (removed unneeded spaces) (diff)
downloadgentoo-2-684e1aa34623ebeff3458dbf239071e110bb003b.tar.gz
gentoo-2-684e1aa34623ebeff3458dbf239071e110bb003b.tar.bz2
gentoo-2-684e1aa34623ebeff3458dbf239071e110bb003b.zip
Removed broken r1 ebuild
Diffstat (limited to 'sys-devel/egcs64-sparc')
-rw-r--r--sys-devel/egcs64-sparc/egcs64-sparc-19980921-r1.ebuild93
1 files changed, 0 insertions, 93 deletions
diff --git a/sys-devel/egcs64-sparc/egcs64-sparc-19980921-r1.ebuild b/sys-devel/egcs64-sparc/egcs64-sparc-19980921-r1.ebuild
deleted file mode 100644
index 07ed4a15c0a2..000000000000
--- a/sys-devel/egcs64-sparc/egcs64-sparc-19980921-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/egcs64-sparc/egcs64-sparc-19980921-r1.ebuild,v 1.12 2002/12/14 02:51:24 jmorgan Exp $
-
-EGCSDATE=`echo $P| sed -e 's/egcs64-sparc-\([0-9]*\).*/\1/'`
-EGCSVER=2.92.11
-S=${WORKDIR}/egcs64-${EGCSDATE}
-DESCRIPTION=" crosscompiler for building kernels on sparc32"
-SRC_URI="http://ftp.us.debian.org/debian/dists/stable/main/source/devel/egcs64_${EGCSDATE}.orig.tar.gz"
-HOMEPAGE="http://www.rocklinux.de/projects/sparc/sparc.html"
-LICENSE="GPL-2 LGPL-2"
-SLOT="0"
-KEYWORDS="sparc -x86 -ppc"
-
-#RDEPEND="virtual/glibc"
-#MYCHOST=`echo $CHOST | sed 's/sparc-/-/'`
-DEPEND="sys-devel/autoconf"
-
-MYPREFIX=/usr
-MYCHOST=sparc-unknown-linux-gnu
-
-# Reset CFLAGS, gcc doesn't want that stuff
-CFLAGS=""
-CXXFLAGS="$CFLAGS"
-export CFLAGS CXXFLAGS
-
-src_unpack() {
- unpack ${A}
- cat ${FILESDIR}/egcs64_${EGCSDATE}-4.diff | patch -p0 -l || die
- cat ${FILESDIR}/egcs64_${EGCSDATE}-4-gentoo.diff | patch -p0 -l || die
-}
-
-src_compile() {
- unset CHOST
- mkdir ${S}/build
- cd ${S}/build
- AR_FOR_TARGET=ar LIBGCC2_INCLUDES=-I/usr/include CC=gcc \
- ../configure \
- --prefix=${MYPREFIX} --mandir=${MYPREFIX}/share/man \
- --infodir=${MYPREFIX}/share/info --enable-shared \
- --enable-threads --enable-languages=c \
- --enable-version-specific-runtime-libs $MYCHOST || die
-
- #--prefix=${MYPREFIX} --with-local-prefix=${MYPREFIX}/local \
- # Fix a weird problem where TARGET_CONFIGDIRS gets populated with the wrong
- # thing for a kernel crosscompiler. Need to investigate.
- mv Makefile Makefile.tmp
- sed -e 's/[ ]*TARGET_CONFIGDIRS[ ]*=.*/TARGET_CONFIGDIRS = /' Makefile.tmp \
- > Makefile
-
- # Now make
- make \
- CFLAGS="-DHOST_WIDE_INT=long\ long -DHOST_BITS_PER_WIDE_INT=64" \
- LANGUAGES=c TARGET_CONFIGDIRS="" \
- cross || die
-
-}
-
-src_install() {
-
- cd ${S}/build
- dodir /${MYPREFIX}/{bin,lib,local} /${MYPREFIX}/doc/egcs64-${EGCSDATE}/gcc
-
- cd gcc && make install \
- prefix=${D}/${MYPREFIX} local_prefix=${D}/${MYPREFIX}/local \
- includedir=${D}/${MYPREFIX}/local/include \
- CFLAGS='-DHOST_WIDE_INT=long\ long -DHOST_BITS_PER_WIDE_INT=64' \
- LANGUAGES=c || die
-
- cd ${D}/${MYPREFIX}/bin
- rm gcc gcj
-
- cd ${S}
- cp -a COPYING COPYING.LIB ChangeLog README MAINTAINERS \
- ${D}/${MYPREFIX}/doc/egcs64-${EGCSDATE}
- cd gcc
- cp -a BUGS INSTALL LANGUAGES LITERATURE NEWS PROBLEMS PROJECTS \
- README* SERVICE TESTS.FLUNK \
- ${D}/${MYPREFIX}/doc/egcs64-${EGCSDATE}/gcc
-
- # remove the stuff we don't need
-
- cd ${D}/${MYPREFIX}
- rm -rf info man
- cd ${D}/${MYPREFIX}/bin
- mv -unknown-linux-gnu-gcc egcs-${EGCSVER}
- ln -s egcs-${EGCSVER} -unknown-linux-gnu-gcc
- ln -s egcs-${EGCSVER} -unknown-linux-gcc
- ln -s egcs-${EGCSVER} -linux-gcc
- ln -s egcs-${EGCSVER} gcc64
- ln -s egcs-${EGCSVER} egcs64
- ln -s egcs-${EGCSVER} cc64
-}