summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-08-26 08:39:35 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-08-26 08:39:35 +0000
commitdbfd2023787e68819580fd91a02cf561fec252c6 (patch)
tree8204c569d3211179bfd7ab8a1b2b218252a9f45f /sys-devel
parentRemove the place-orphan.patch patch, as it causes failures in sash and (diff)
downloadhistorical-dbfd2023787e68819580fd91a02cf561fec252c6.tar.gz
historical-dbfd2023787e68819580fd91a02cf561fec252c6.tar.bz2
historical-dbfd2023787e68819580fd91a02cf561fec252c6.zip
cleanup
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/Manifest14
-rw-r--r--sys-devel/binutils/binutils-2.12.90.0.7.ebuild135
-rw-r--r--sys-devel/binutils/binutils-2.13.90.0.20-r1.ebuild174
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.1-r1.ebuild177
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.4.1.ebuild168
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.4.ebuild168
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.5.ebuild178
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.6.ebuild177
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.12.90.0.71
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.13.90.0.20-r12
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.1-r12
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.41
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.4.11
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.51
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.61
15 files changed, 0 insertions, 1200 deletions
diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index 4f0cc96ce27d..758f48614448 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -1,24 +1,15 @@
-MD5 7a3bbb04c9a5243c92f1d972cb0b61ec binutils-2.13.90.0.20-r1.ebuild 5001
MD5 2adeb2860e4df3cdcb96ef6cd5430ab1 binutils-2.13.90.0.18-r1.ebuild 5376
MD5 680471350a3b85f5c0616c3f626f7c13 binutils-2.14.90.0.2.ebuild 4845
-MD5 fa1d184fbb7043a913d9307bd1b42fde binutils-2.12.90.0.7.ebuild 3594
MD5 51bfea19ab266367baf39b3e6224be33 binutils-2.13.90.0.18.ebuild 4580
MD5 521cc69bcb76129aae7d1bfe050b8ee1 binutils-2.14.90.0.6-r1.ebuild 5126
-MD5 8303a09e50b83d864db0735fd00cf7bd binutils-2.14.90.0.4.1.ebuild 4851
-MD5 e7df35e2bb31fb0268d2150da19b27b9 binutils-2.14.90.0.4.ebuild 4842
MD5 5ed1c40a92233028ce782a0c337603d9 binutils-2.13.90.0.16-r1.ebuild 4740
-MD5 5690182afbd4c3cc29eff36bf253bdad binutils-2.14.90.0.5.ebuild 5127
MD5 368c85b995c3ab74a32a09e573aba1f9 binutils-2.12.90.0.15.ebuild 3512
MD5 4489fb7323d7b5600136bb9335c36b7e ChangeLog 13964
-MD5 92899f50da78ca1774690fa292545dca binutils-2.14.90.0.6.ebuild 5055
MD5 011c5a33d84072e1af09ccf89cba6d61 binutils-2.11.92.0.7.ebuild 2357
MD5 39c137509f3ea2ab526bb092b10a9c54 binutils-2.11.92.0.12.3-r2.ebuild 3055
-MD5 2e588e007eb122eb471c48aefcb04a41 binutils-2.14.90.0.1-r1.ebuild 5097
MD5 8e8914eebb88c363a128964a7941d66c binutils-2.14.90.0.4.1-r1.ebuild 5806
MD5 e03dd3aa040f93c1afe6797b7b030042 binutils-2.14.90.0.5-r1.ebuild 5301
MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6-r1 75
-MD5 f2fca878c36319fd0efd1606f4baf24e files/digest-binutils-2.14.90.0.5 75
-MD5 64f2cf145447cc0996540814afb15c68 files/digest-binutils-2.12.90.0.7 74
MD5 c2028bfe76e16c23a00a4ad36a5a36f2 files/digest-binutils-2.14.90.0.4.1-r1 77
MD5 b7ccd9bdcb0ab7c26bcf2a3e4c2e2afc files/digest-binutils-2.13.90.0.16-r1 75
MD5 4270b9eea6fb9d807bc63ba0a221ea9b files/digest-binutils-2.13.90.0.18 75
@@ -26,15 +17,10 @@ MD5 f2fca878c36319fd0efd1606f4baf24e files/digest-binutils-2.14.90.0.5-r1 75
MD5 f453b3f208b17cd18380bc3653936487 files/binutils-2.12.90.0.14-x86_64-libpic.patch 1184
MD5 db3f89b51f6961b0cf92bdddf8127ea7 files/digest-binutils-2.11.92.0.12.3-r2 161
MD5 bac15ed517ba3cc1eb3c08f463654aad files/digest-binutils-2.14.90.0.2 75
-MD5 f65088dfe30f5999e2491768b5fdadf8 files/digest-binutils-2.14.90.0.1-r1 169
MD5 d435975192db69b96d36c62e2ad0876c files/digest-binutils-2.13.90.0.18-r1 160
-MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6 75
MD5 6c32de9a9503293bb03048f09dadc182 files/digest-binutils-2.11.92.0.7 74
-MD5 b04e5a5665b4e9987cbef313d24bc349 files/digest-binutils-2.13.90.0.20-r1 172
MD5 e6b97971464cab854a321254d84ae44f files/digest-binutils-2.12.90.0.15 75
MD5 fe5fb935b171a472f5eb1a8bca63c136 files/binutils-2.12.90.0.14-glibc21.patch 7936
-MD5 c2028bfe76e16c23a00a4ad36a5a36f2 files/digest-binutils-2.14.90.0.4.1 77
-MD5 a63b47640cf272a430fb444e023dad44 files/digest-binutils-2.14.90.0.4 75
MD5 c16f13adaeb21909a350b0a562b8a4d5 files/2.13/binutils-2.13.90.0.16-ia64-bootstrap.patch 3535
MD5 feebd067c397d519e1ca9340606968a8 files/2.13/binutils-2.13.90.0.20-array-sects-compat.patch 1054
MD5 886c4cf5037f3e353f5ea9793564f737 files/2.13/binutils-2.13.90.0.18-ppc64-tls1.patch 66696
diff --git a/sys-devel/binutils/binutils-2.12.90.0.7.ebuild b/sys-devel/binutils/binutils-2.12.90.0.7.ebuild
deleted file mode 100644
index fc21683b6fb4..000000000000
--- a/sys-devel/binutils/binutils-2.12.90.0.7.ebuild
+++ /dev/null
@@ -1,135 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.12.90.0.7.ebuild,v 1.18 2003/05/25 15:34:03 mholzer Exp $
-
-IUSE="nls bootstrap static build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit libtool
-
-S=${WORKDIR}/${P}
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="x86 ppc sparc "
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-src_compile() {
-
- local myconf=""
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # DO NOT LIBTOOLIZE, AS BINUTILS COME WITH ITS OWN VERSION
- # OF LIBTOOL!!!!!!!
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- if [ "`use static`" ]
- then
- make headers -C bfd CFLAGS=-O || die
- emake -e LDFLAGS=-all-static || die
- else
- make headers -C bfd CFLAGS=-O || die
- emake || die
- fi
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- #nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm {} ';'
- fi
- #make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- #c++filt is included with gcc -- what are these GNU people thinking?
- #but not the manpage, so leave that!
- rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- #strip has a symlink going from /usr/${CHOST}/bin/strip to /usr/bin/strip
- #we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- #the strip symlink gets created in the loop below
-
- #ar, as, ld, nm, ranlib and strip are in two places; create symlinks. This will reduce the
- #size of the tbz2 significantly. We also move all the stuff in /usr/bin to /usr/${CHOST}/bin
- #and create the appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv $x ../${CHOST}/bin/${x}
- else
- rm -f $x
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- #install pre-generated manpages
- else
- rm -rf ${D}/usr/share/man
- fi
-}
-
diff --git a/sys-devel/binutils/binutils-2.13.90.0.20-r1.ebuild b/sys-devel/binutils/binutils-2.13.90.0.20-r1.ebuild
deleted file mode 100644
index cf34b7a7122c..000000000000
--- a/sys-devel/binutils/binutils-2.13.90.0.20-r1.ebuild
+++ /dev/null
@@ -1,174 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.13.90.0.20-r1.ebuild,v 1.4 2003/06/25 22:35:44 azarah Exp $
-
-IUSE="nls bootstrap build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit eutils libtool flag-o-matic
-
-# Generate borked binaries. Bug #6730
-filter-flags "-fomit-frame-pointer -fssa"
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2
- mirror://gentoo/${P}-20030409-cvs-update.patch.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="~x86 -ppc -alpha -sparc ~mips -hppa -arm"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-# filter CFLAGS=".. -O2 .." on arm
-if [ "${ARCH}" = "arm" ]; then
- CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
-fi
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
-
- # CVS Branch Updates
- # This is necessary to get ppc & x86 working again. It also
- # provides futher updates and necessary fixes for mips.
- # <dragon@gentoo.org> (09 Apr 2003)
- epatch ${WORKDIR}/${P}-20030409-cvs-update.patch
-
- # Various patches from Redhat/Mandrake...
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-sparc-nonpic.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-eh-frame-ro.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-ltconfig-multilib.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch
- use x86 &> /dev/null \
- && epatch ${FILESDIR}/2.13/${P}-array-sects-compat.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-s390-file-loc.patch
-
- # Add patches for mips
- if [ "${ARCH}" = "mips" ]
- then
- epatch ${FILESDIR}/2.13/${P}-gas-mips-gprel.patch
- fi
-
-}
-
-src_compile() {
- local myconf=""
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Fix /usr/lib/libbfd.la
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- make configure-bfd || die
- make headers -C bfd || die
- emake tooldir="${ROOT}/usr/bin" \
- all || die
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- # Nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm -f {} \; || :
- fi
- # Make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
-
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- # c++filt is included with gcc -- what are these GNU people thinking?
- # but not the manpage, so leave that!
-# We install it now, as gcc-3.3 do not have it any longer ...
-# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- # By default strip has a symlink going from /usr/${CHOST}/bin/strip to
- # /usr/bin/strip we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- # The strip symlink gets created in the loop below
-
- # By default ar, as, ld, nm, ranlib and strip are in two places; create
- # symlinks. This will reduce the size of the tbz2 significantly. We also
- # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the
- # appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x=""
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv ${x} ../${CHOST}/bin/${x}
- else
- rm -f ${x}
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- # Install pre-generated manpages .. currently we do not ...
- else
- rm -rf ${D}/usr/share/man
- fi
-}
diff --git a/sys-devel/binutils/binutils-2.14.90.0.1-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.1-r1.ebuild
deleted file mode 100644
index a283974df7f1..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.1-r1.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.1-r1.ebuild,v 1.6 2003/06/08 21:30:59 lu_zero Exp $
-
-IUSE="nls bootstrap build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit eutils libtool flag-o-matic
-
-# Generate borked binaries. Bug #6730
-filter-flags "-fomit-frame-pointer -fssa"
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2
- mirror://gentoo/${P}-20030508-cvs-update.patch.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="~x86 ppc -alpha ~sparc ~mips -hppa -arm"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-# filter CFLAGS=".. -O2 .." on arm
-if [ "${ARCH}" = "arm" ]; then
- CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
-fi
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
-
- # CVS Branch Updates
- # This is necessary to get testsuite working again. It also
- # provides futher updates and necessary fixes for mips. It
- # fixes a few weak symbol issues, as well.
- # <dragon@gentoo.org> (08 May 2003)
- epatch ${WORKDIR}/${P}-20030508-cvs-update.patch
-
- # Various patches from Redhat/Mandrake...
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-ltconfig-multilib.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-s390-file-loc.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch
- epatch ${FILESDIR}/2.14/${P}-sparc-nonpic.patch
- epatch ${FILESDIR}/2.14/${P}-eh-frame-ro.patch
-
- use x86 &> /dev/null \
- && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch
-
- # Add patches for mips
- # Appears to already be in 2.14.90.0.1....
-# if [ "${ARCH}" = "mips" ]
-# then
-# epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-gas-mips-gprel.patch
-# fi
-
-}
-
-src_compile() {
- local myconf=""
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Fix /usr/lib/libbfd.la
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- make configure-bfd || die
- make headers -C bfd || die
- emake tooldir="${ROOT}/usr/bin" \
- all || die
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- # Nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm -f {} \; || :
- fi
- # Make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
-
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- # c++filt is included with gcc -- what are these GNU people thinking?
- # but not the manpage, so leave that!
-# We install it now, as gcc-3.3 do not have it any longer ...
-# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- # By default strip has a symlink going from /usr/${CHOST}/bin/strip to
- # /usr/bin/strip we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- # The strip symlink gets created in the loop below
-
- # By default ar, as, ld, nm, ranlib and strip are in two places; create
- # symlinks. This will reduce the size of the tbz2 significantly. We also
- # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the
- # appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x=""
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv ${x} ../${CHOST}/bin/${x}
- else
- rm -f ${x}
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- # Install pre-generated manpages .. currently we do not ...
- else
- rm -rf ${D}/usr/share/man
- fi
-}
diff --git a/sys-devel/binutils/binutils-2.14.90.0.4.1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.4.1.ebuild
deleted file mode 100644
index 713727186314..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.4.1.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.4.1.ebuild,v 1.1 2003/06/25 22:35:44 azarah Exp $
-
-IUSE="nls bootstrap build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit eutils libtool flag-o-matic
-
-# Generate borked binaries. Bug #6730
-filter-flags "-fomit-frame-pointer -fssa"
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="~amd64 -x86 -ppc -alpha -sparc -mips -hppa -arm"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-# filter CFLAGS=".. -O2 .." on arm
-if [ "${ARCH}" = "arm" ]; then
- CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
-fi
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
-
- # Various patches from Redhat/Mandrake...
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-ltconfig-multilib.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-s390-file-loc.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.1-sparc-nonpic.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.1-eh-frame-ro.patch
-
- use x86 &> /dev/null \
- && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch
-
- # Fixes a MIPS issue in which the dynamic relocation table in OpenSSL libs
- # gets broken because the GOT entry count is too low
- if [ "${ARCH}" = "mips" ]; then
- epatch ${FILESDIR}/2.14/${PN}-mips-openssl-got-fix.patch
- fi
-
-}
-
-src_compile() {
- local myconf=""
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Fix /usr/lib/libbfd.la
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- make configure-bfd || die
- make headers -C bfd || die
- emake tooldir="${ROOT}/usr/bin" \
- all || die
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- # Nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm -f {} \; || :
- fi
- # Make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
-
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- # c++filt is included with gcc -- what are these GNU people thinking?
- # but not the manpage, so leave that!
-# We install it now, as gcc-3.3 do not have it any longer ...
-# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- # By default strip has a symlink going from /usr/${CHOST}/bin/strip to
- # /usr/bin/strip we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- # The strip symlink gets created in the loop below
-
- # By default ar, as, ld, nm, ranlib and strip are in two places; create
- # symlinks. This will reduce the size of the tbz2 significantly. We also
- # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the
- # appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x=""
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv ${x} ../${CHOST}/bin/${x}
- else
- rm -f ${x}
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- # Install pre-generated manpages .. currently we do not ...
- else
- rm -rf ${D}/usr/share/man
- fi
-}
diff --git a/sys-devel/binutils/binutils-2.14.90.0.4.ebuild b/sys-devel/binutils/binutils-2.14.90.0.4.ebuild
deleted file mode 100644
index 9dff5844af44..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.4.ebuild
+++ /dev/null
@@ -1,168 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.4.ebuild,v 1.3 2003/06/25 22:35:44 azarah Exp $
-
-IUSE="nls bootstrap build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit eutils libtool flag-o-matic
-
-# Generate borked binaries. Bug #6730
-filter-flags "-fomit-frame-pointer -fssa"
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="-x86 -ppc -alpha -sparc -mips -hppa -arm"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-# filter CFLAGS=".. -O2 .." on arm
-if [ "${ARCH}" = "arm" ]; then
- CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
-fi
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
-
- # Various patches from Redhat/Mandrake...
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-ltconfig-multilib.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-s390-file-loc.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.1-sparc-nonpic.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.1-eh-frame-ro.patch
-
- use x86 &> /dev/null \
- && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch
-
- # Fixes a MIPS issue in which the dynamic relocation table in OpenSSL libs
- # gets broken because the GOT entry count is too low
- if [ "${ARCH}" = "mips" ]; then
- epatch ${FILESDIR}/2.14/${PN}-mips-openssl-got-fix.patch
- fi
-
-}
-
-src_compile() {
- local myconf=""
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Fix /usr/lib/libbfd.la
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- make configure-bfd || die
- make headers -C bfd || die
- emake tooldir="${ROOT}/usr/bin" \
- all || die
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- # Nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm -f {} \; || :
- fi
- # Make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
-
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- # c++filt is included with gcc -- what are these GNU people thinking?
- # but not the manpage, so leave that!
-# We install it now, as gcc-3.3 do not have it any longer ...
-# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- # By default strip has a symlink going from /usr/${CHOST}/bin/strip to
- # /usr/bin/strip we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- # The strip symlink gets created in the loop below
-
- # By default ar, as, ld, nm, ranlib and strip are in two places; create
- # symlinks. This will reduce the size of the tbz2 significantly. We also
- # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the
- # appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x=""
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv ${x} ../${CHOST}/bin/${x}
- else
- rm -f ${x}
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- # Install pre-generated manpages .. currently we do not ...
- else
- rm -rf ${D}/usr/share/man
- fi
-}
diff --git a/sys-devel/binutils/binutils-2.14.90.0.5.ebuild b/sys-devel/binutils/binutils-2.14.90.0.5.ebuild
deleted file mode 100644
index 46ad7d2dbf8d..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.5.ebuild
+++ /dev/null
@@ -1,178 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.5.ebuild,v 1.2 2003/07/24 03:42:24 kumba Exp $
-
-IUSE="nls bootstrap build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit eutils libtool flag-o-matic
-
-# Generate borked binaries. Bug #6730
-filter-flags "-fomit-frame-pointer -fssa"
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="~amd64 ~x86 -ppc -alpha -sparc -mips -hppa -arm"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-# filter CFLAGS=".. -O2 .." on arm
-if [ "${ARCH}" = "arm" ]; then
- CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
-fi
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-sparc-nonpic.patch
-# Not 100% sure about this one - things changed too much
-# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-eh-frame-ro.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ltconfig-multilib.patch
-# Might think of adding the Prescott stuff later on
-# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-pni.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch
-# This one is PITA as well - DWARF2_LINE_MIN_INSN_LENGTH was added to
-# the header, but not the entries to md_pseudo_table[] ...
-# epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-s390-file-loc.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch
-
- use x86 &> /dev/null \
- && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch
-
- # Libtool is broken (Redhat).
- for x in ${S}/opcodes/Makefile.{am,in}
- do
- cp ${x} ${x}.orig
- gawk '
- {
- if ($0 ~ /LIBADD/)
- gsub("../bfd/libbfd.la", "-L../bfd/.libs ../bfd/libbfd.la")
-
- print
- }' ${x}.orig > ${x}
- rm -rf ${x}.orig
- done
-}
-
-src_compile() {
- local myconf=
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Fix /usr/lib/libbfd.la
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- make configure-bfd || die
- make headers -C bfd || die
- emake tooldir="${ROOT}/usr/bin" \
- all || die
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- # Nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm -f {} \; || :
- fi
- # Make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
-
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- # c++filt is included with gcc -- what are these GNU people thinking?
- # but not the manpage, so leave that!
-# We install it now, as gcc-3.3 do not have it any longer ...
-# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- # By default strip has a symlink going from /usr/${CHOST}/bin/strip to
- # /usr/bin/strip we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- # The strip symlink gets created in the loop below
-
- # By default ar, as, ld, nm, ranlib and strip are in two places; create
- # symlinks. This will reduce the size of the tbz2 significantly. We also
- # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the
- # appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x=
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv ${x} ../${CHOST}/bin/${x}
- else
- rm -f ${x}
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- # Install pre-generated manpages .. currently we do not ...
- else
- rm -rf ${D}/usr/share/man
- fi
-}
diff --git a/sys-devel/binutils/binutils-2.14.90.0.6.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6.ebuild
deleted file mode 100644
index 94767896f598..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.6.ebuild
+++ /dev/null
@@ -1,177 +0,0 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.6.ebuild,v 1.1 2003/08/24 14:23:11 azarah Exp $
-
-IUSE="nls bootstrap build"
-
-# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
-# the manpages, but seems this is incorrect ....
-
-inherit eutils libtool flag-o-matic
-
-# Generate borked binaries. Bug #6730
-filter-flags "-fomit-frame-pointer -fssa"
-
-S="${WORKDIR}/${P}"
-DESCRIPTION="Tools necessary to build programs"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-
-SLOT="0"
-LICENSE="GPL-2 | LGPL-2"
-KEYWORDS="~amd64 ~x86 ~ppc ~alpha ~sparc ~mips ~hppa ~arm"
-
-DEPEND="virtual/glibc
- >=sys-apps/portage-2.0.21
- nls? ( sys-devel/gettext )
- || ( dev-lang/perl
- ( !build? ( dev-lang/perl ) )
- ( !bootstrap? ( dev-lang/perl ) )
- )"
-# This is a hairy one. Basically depend on dev-lang/perl
-# if "build" or "bootstrap" not in USE.
-
-
-# filter CFLAGS=".. -O2 .." on arm
-if [ "${ARCH}" = "arm" ]; then
- CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
-fi
-
-src_unpack() {
-
- unpack ${A}
-
- cd ${S}
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-glibc21.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-sparc-nonpic.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-eh-frame-ro.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ltconfig-multilib.patch
-# Might think of adding the Prescott stuff later on
-# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-pni.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-place-orphan.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-s390-pie.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-pie.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-testsuite.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.10-x86_64-gotpcrel.patch
- epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.18-testsuite-Wall-fixes.patch
-
- use x86 &> /dev/null \
- && epatch ${FILESDIR}/2.13/${PN}-2.13.90.0.20-array-sects-compat.patch
-
- # Libtool is broken (Redhat).
- for x in ${S}/opcodes/Makefile.{am,in}
- do
- cp ${x} ${x}.orig
- gawk '
- {
- if ($0 ~ /LIBADD/)
- gsub("../bfd/libbfd.la", "-L../bfd/.libs ../bfd/libbfd.la")
-
- print
- }' ${x}.orig > ${x}
- rm -rf ${x}.orig
- done
-}
-
-src_compile() {
- local myconf=
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Fix /usr/lib/libbfd.la
- elibtoolize --portage
-
- ./configure --enable-shared \
- --enable-64-bit-bfd \
- --prefix=/usr \
- --mandir=/usr/share/man \
- --infodir=/usr/share/info \
- --host=${CHOST} \
- ${myconf} || die
-
- make configure-bfd || die
- make headers -C bfd || die
- emake tooldir="${ROOT}/usr/bin" \
- all || die
-
- if [ -z "`use build`" ]
- then
- if [ -z "`use bootstrap`" ]
- then
- # Nuke the manpages to recreate them (only use this if we have perl)
- find . -name '*.1' -exec rm -f {} \; || :
- fi
- # Make the info pages (makeinfo included with gcc is used)
- make info || die
- fi
-}
-
-src_install() {
-
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install || die
-
- insinto /usr/include
- doins include/libiberty.h
-
- # c++filt is included with gcc -- what are these GNU people thinking?
- # but not the manpage, so leave that!
-# We install it now, as gcc-3.3 do not have it any longer ...
-# rm -f ${D}/usr/bin/c++filt #${D}/usr/share/man/man1/c++filt*
-
- # By default strip has a symlink going from /usr/${CHOST}/bin/strip to
- # /usr/bin/strip we should reverse it:
-
- rm ${D}/usr/${CHOST}/bin/strip; mv ${D}/usr/bin/strip ${D}/usr/${CHOST}/bin/strip
- # The strip symlink gets created in the loop below
-
- # By default ar, as, ld, nm, ranlib and strip are in two places; create
- # symlinks. This will reduce the size of the tbz2 significantly. We also
- # move all the stuff in /usr/bin to /usr/${CHOST}/bin and create the
- # appropriate symlinks. Things are cleaner that way.
- cd ${D}/usr/bin
- local x=
- for x in * strip
- do
- if [ ! -e ../${CHOST}/bin/${x} ]
- then
- mv ${x} ../${CHOST}/bin/${x}
- else
- rm -f ${x}
- fi
- ln -s ../${CHOST}/bin/${x} ${x}
- done
-
- cd ${S}
- if [ -z "`use build`" ]
- then
- make prefix=${D}/usr \
- mandir=${D}/usr/share/man \
- infodir=${D}/usr/share/info \
- install-info || die
-
- dodoc COPYING* README
- docinto bfd
- dodoc bfd/ChangeLog* bfd/COPYING bfd/README bfd/PORTING bfd/TODO
- docinto binutils
- dodoc binutils/ChangeLog binutils/NEWS binutils/README
- docinto gas
- dodoc gas/ChangeLog* gas/CONTRIBUTORS gas/COPYING gas/NEWS gas/README*
- docinto gprof
- dodoc gprof/ChangeLog* gprof/TEST gprof/TODO
- docinto ld
- dodoc ld/ChangeLog* ld/README ld/NEWS ld/TODO
- docinto libiberty
- dodoc libiberty/ChangeLog* libiberty/COPYING.LIB libiberty/README
- docinto opcodes
- dodoc opcodes/ChangeLog*
- # Install pre-generated manpages .. currently we do not ...
- else
- rm -rf ${D}/usr/share/man
- fi
-}
diff --git a/sys-devel/binutils/files/digest-binutils-2.12.90.0.7 b/sys-devel/binutils/files/digest-binutils-2.12.90.0.7
deleted file mode 100644
index f4e65969449b..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.12.90.0.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 bebbe8a8795a71afce58bb1fc1e3b894 binutils-2.12.90.0.7.tar.bz2 8733848
diff --git a/sys-devel/binutils/files/digest-binutils-2.13.90.0.20-r1 b/sys-devel/binutils/files/digest-binutils-2.13.90.0.20-r1
deleted file mode 100644
index 809700b9ca18..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.13.90.0.20-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 cfbad8b279410a3edbcdea9684943015 binutils-2.13.90.0.20.tar.bz2 10157139
-MD5 f507e2c359008feb89f9d6726ba0bcbe binutils-2.13.90.0.20-20030409-cvs-update.patch.bz2 281247
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.1-r1 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.1-r1
deleted file mode 100644
index be20d368e9b2..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.1-r1
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 2018bb21eba8fe09b1a3d53321ebffa4 binutils-2.14.90.0.1.tar.bz2 10314430
-MD5 9a96b9a9187ae3e59e70a468a722c704 binutils-2.14.90.0.1-20030508-cvs-update.patch.bz2 49178
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.4 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.4
deleted file mode 100644
index 13c33ac11166..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b7b394b8a001bc3102053b29c9dd44fa binutils-2.14.90.0.4.tar.bz2 10354576
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1
deleted file mode 100644
index 4d12da56df02..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 e4907bd263ef912096ec8c0f64033a9b binutils-2.14.90.0.4.1.tar.bz2 10436800
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.5 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.5
deleted file mode 100644
index 0e19b24ec983..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 023e0914937116121c2c34e59e0d1c4b binutils-2.14.90.0.5.tar.bz2 10381764
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.6
deleted file mode 100644
index 26abe27b6c76..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6
+++ /dev/null
@@ -1 +0,0 @@
-MD5 71b99dba3045a359dc314dbebedcf502 binutils-2.14.90.0.6.tar.bz2 10399066