diff options
author | Grant Goodyear <g2boojum@gentoo.org> | 2002-03-20 20:15:25 +0000 |
---|---|---|
committer | Grant Goodyear <g2boojum@gentoo.org> | 2002-03-20 20:15:25 +0000 |
commit | 8be2ec9d9eccdd6a3377fe1eb0b9017cc298c0b4 (patch) | |
tree | 0b1fa3ae5dca1c8a945137ec539d8253fccc7d87 /sys-devel | |
parent | _pre29 release (diff) | |
download | gentoo-2-8be2ec9d9eccdd6a3377fe1eb0b9017cc298c0b4.tar.gz gentoo-2-8be2ec9d9eccdd6a3377fe1eb0b9017cc298c0b4.tar.bz2 gentoo-2-8be2ec9d9eccdd6a3377fe1eb0b9017cc298c0b4.zip |
gcc3 now uses the system zlib.
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc/files/digest-gcc-3.0.4-r1 (renamed from sys-devel/gcc/files/digest-gcc-3.0.4) | 0 | ||||
-rw-r--r-- | sys-devel/gcc/gcc-3.0.4.ebuild | 163 |
2 files changed, 0 insertions, 163 deletions
diff --git a/sys-devel/gcc/files/digest-gcc-3.0.4 b/sys-devel/gcc/files/digest-gcc-3.0.4-r1 index 8ffcce370b4b..8ffcce370b4b 100644 --- a/sys-devel/gcc/files/digest-gcc-3.0.4 +++ b/sys-devel/gcc/files/digest-gcc-3.0.4-r1 diff --git a/sys-devel/gcc/gcc-3.0.4.ebuild b/sys-devel/gcc/gcc-3.0.4.ebuild deleted file mode 100644 index 89a76278d6ab..000000000000 --- a/sys-devel/gcc/gcc-3.0.4.ebuild +++ /dev/null @@ -1,163 +0,0 @@ -# Copyright 1999-2002 Gentoo Technologies, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later -# Maintainer: Grant Goodyear <g2boojum@gentoo.org>, Daniel Robbins <drobbins@gentoo.org> -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.0.4.ebuild,v 1.1 2002/03/01 16:15:04 g2boojum Exp $ - -TV=4.0 -SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${P}/${P}.tar.bz2 - ftp://ftp.funet.fi/pub/mirrors/sourceware.cygnus.com/pub/gcc/releases/${P}/${P}.tar.bz2 - ftp://ftp.gnu.org/pub/gnu/texinfo/texinfo-${TV}.tar.gz" - -S=${WORKDIR}/${P} - -LOC=/usr - -DESCRIPTION="Modern GCC C/C++ compiler and an included, upgraded version of texinfo to boot" -HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" -DEPEND="virtual/glibc" -RDEPEND="virtual/glibc" -if [ -z "`use build`" ] -then - DEPEND="$DEPEND nls? ( sys-devel/gettext ) >=sys-libs/ncurses-5.2-r2" - RDEPEND="$RDEPEND >=sys-libs/ncurses-5.2-r2" -fi - -src_unpack() { - unpack ${P}.tar.bz2 - cd ${S} - # Now we integrate texinfo-${TV} into gcc. It comes with texinfo-3.12. - cd ${S} - tar xzf ${DISTDIR}/texinfo-${TV}.tar.gz || die - #hack, because texinfo different in gcc 3.0+ - mkdir ${S}/texinfo - cp -a ${S}/texinfo-4.0/* ${S}/texinfo - cd ${S}/texinfo - if [ "`use build`" ] - then - patch -p0 < ${FILESDIR}/texinfo-${TV}-no-ncurses-gentoo.diff || die - touch * - fi -} - -src_compile() { - local myconf - if [ -z "`use build`" ] - then - myconf="--enable-shared" - else - myconf="--enable-languages=c" - fi - if [ -z "`use nls`" ] || [ "`use build`" ] ; then - myconf="$myconf --disable-nls" - else - myconf="$myconf --enable-nls --without-included-gettext" - fi - - # gcc does not like optimization - - export CFLAGS="${CFLAGS/-O?/}" - export CXXFLAGS="${CXXFLAGS/-O?/}" - - #build in a separate build tree - cd ${WORKDIR} - mkdir build - cd build - - addwrite "/dev/zero" - ${S}/configure --prefix=${LOC} --mandir=${LOC}/share/man --infodir=${LOC}/share/info \ - --enable-shared --host=${CHOST} --build=${CHOST} --target=${CHOST} \ - --enable-threads=posix --disable-checking \ - --with-local-prefix=${LOC}/local ${myconf} || die - - if [ -z "`use static`" ] - then - emake bootstrap-lean || die - else - emake LDFLAGS=-static bootstrap || die - fi -} - -src_install() { - #make install from the build directory - cd ${WORKDIR}/build - make install prefix=${D}${LOC} mandir=${D}${LOC}/share/man infodir=${D}${LOC}/share/info || die - [ -e ${D}/usr/bin/gcc ] || die "gcc not found in ${D}" - FULLPATH=${D}${LOC}/lib/gcc-lib/${CHOST}/${PV} - cd ${FULLPATH} - dodir /lib - dosym /usr/bin/cpp /lib/cpp - dosym gcc /usr/bin/cc - dodir /etc/env.d - echo "LDPATH=${LOC}/lib/gcc-lib/${CHOST}/${PV}" > ${D}/etc/env.d/05gcc - cd ${S} - if [ -z "`use build`" ] - then - #do a full texinfo-${TV} install - - cd ${WORKDIR}/build/texinfo - make DESTDIR=${D} infodir=${D}/usr/share/info install || die - exeinto /usr/sbin - doexe ${FILESDIR}/mkinfodir - - cd ${D}/usr/share/info - mv texinfo texinfo.info - for i in texinfo-* - do - mv ${i} texinfo.info-${i#texinfo-*} - done - - cd ${S}/texinfo - docinto texinfo - dodoc AUTHORS ChangeLog COPYING INTRODUCTION NEWS README TODO - docinto texinfo/info - dodoc info/README - docinto texinfo/makeinfo - dodoc makeinfo/README - - # end texinfo 4.0; begin more gcc stuff - - cd ${S} - docinto / - dodoc COPYING COPYING.LIB README* FAQ MAINTAINERS - docinto html - dodoc faq.html - docinto gcc - cd ${S}/gcc - dodoc BUGS ChangeLog* COPYING* FSFChangeLog* LANGUAGES NEWS PROBLEMS README* SERVICE TESTS.FLUNK - cd ${S}/libchill - docinto libchill - dodoc ChangeLog - cd ${S}/libf2c - docinto libf2c - dodoc ChangeLog changes.netlib README TODO - cd ${S}/libffi - docinto libffi - dodoc ChangeLog* LICENSE README - cd ${S}/libjava - docinto libjava - dodoc ChangeLog* COPYING LIBGJC_LICENSE README THANKS - cd ${S}/libiberty - docinto libiberty - dodoc ChangeLog COPYING.LIB README - cd ${S}/libio - docinto libio - dodoc ChangeLog NEWS README - cd dbz - docinto libio/dbz - dodoc README - cd ../stdio - docinto libio/stdio - dodoc ChangeLog* - cd ${S}/libobjc - docinto libobjc - dodoc ChangeLog README* THREADS* - cd ${S}/libstdc++ - docinto libstdc++ - dodoc ChangeLog NEWS - else - rm -rf ${D}/usr/share/{man,info} - #do a minimal texinfo install (build image) - cd ${WORKDIR}/build/texinfo - dobin makeinfo/makeinfo util/{install-info,texi2dvi,texindex} - fi -} |