summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-20 15:51:14 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-20 15:51:14 +0000
commit9bc0b567d68f88729c48b489956f5ad0d02c82a4 (patch)
tree9b8f1319a996928bcc39d2cef22c5d0881d6388d /sys-devel
parentremove unused big fat patches (diff)
downloadhistorical-9bc0b567d68f88729c48b489956f5ad0d02c82a4.tar.gz
historical-9bc0b567d68f88729c48b489956f5ad0d02c82a4.tar.bz2
historical-9bc0b567d68f88729c48b489956f5ad0d02c82a4.zip
old
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/Manifest10
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.2.ebuild179
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild203
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild179
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild176
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.6-r3.ebuild188
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.7.ebuild191
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.8.ebuild170
-rw-r--r--sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-ltconfig-multilib.patch26
-rw-r--r--sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-s390-file-loc.patch40
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.21
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1-r11
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.5-r11
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r21
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r31
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.71
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.82
17 files changed, 3 insertions, 1367 deletions
diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index 29710e184272..62174854f1e8 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -6,11 +6,9 @@ MD5 56aa8e1c0831946575e45a4eb93321a9 binutils-2.14.90.0.6-r6.ebuild 6574
MD5 8aabe081dcf8721ab9ec3c549e32359f binutils-2.14.90.0.6-r7.ebuild 6699
MD5 b7455f9d08e1b8197df087bfd7b0dd54 binutils-2.15.90.0.1.1-r1.ebuild 4715
MD5 2aade0291cfc9bf83249ec69e98dfefd binutils-2.15.90.0.1.1-r3.ebuild 4750
-MD5 ee1931e1a905ac742b6e33a03fe64fdc binutils-2.14.90.0.7.ebuild 5522
MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 d4f868f9ec53c121c29bd354521187c0 binutils-2.14.90.0.7-r4.ebuild 6244
MD5 ff2a0e13a819093f9c617a51b92baf9b binutils-2.14.90.0.8-r1.ebuild 5013
-MD5 74a378a02192d0a6844adbb0e79e8d11 binutils-2.14.90.0.8.ebuild 4477
MD5 d95e29cfa911f690c2645ab2ffbc2d5f binutils-2.15.90.0.3-r3.ebuild 4937
MD5 5af514431a384af812da84665ea8612a binutils-2.15.91.0.1.ebuild 4668
MD5 5705246a4fb89bf4ef2da82e9ee5e713 binutils-2.15.91.0.1-r1.ebuild 4654
@@ -21,12 +19,10 @@ MD5 e028ff3d2a6829f26d2da9ab69715216 binutils-2.15.92.0.2-r1.ebuild 4960
MD5 e3effee7a8054f5e0344034c596cb6fc files/binutils-2.14.amd64-32bit-path-fix.patch 456
MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6-r6 75
MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6-r7 75
-MD5 c19b60c5d77c4e0779d7820598b3b749 files/digest-binutils-2.14.90.0.7 75
MD5 d750e6ba22d43396a290e44d3b1f6c72 files/digest-binutils-2.15.90.0.1.1-r1 161
MD5 f5cb20158fe6b87f03a2366b68866343 files/digest-binutils-2.15.90.0.1.1-r3 161
MD5 83bd52b9c2e975443e2a8b11b59c7441 files/digest-binutils-2.15.90.0.3-r3 159
MD5 c19b60c5d77c4e0779d7820598b3b749 files/digest-binutils-2.14.90.0.7-r4 75
-MD5 4f815f7f13b34c24939c85733607774b files/digest-binutils-2.14.90.0.8 159
MD5 9ee0463e60aaa51448aba92f5fc86f04 files/digest-binutils-2.15.91.0.1 159
MD5 56997eac01c0ed47fd5e4e15149f7b6e files/digest-binutils-2.15.91.0.1-r1 159
MD5 66df5567226338b7504bbd3c25cea92c files/libiberty-pic.patch 370
@@ -91,7 +87,7 @@ MD5 8f619fc0c409a5ba768f126f172ee6bc files/2.15/05_all_binutils-2.15-elf32-arm-t
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBdokoHTu7gpaalycRAmREAJ9n128l8hUDr/HiOmUUZ/XG/iP9AQCfS9H1
-zbCOKfCIckeI62G5TFM97eA=
-=I/D6
+iD8DBQFBdomJHTu7gpaalycRAifIAJ9PXouhwZbmkcFW42CJ2ZL3M0kywwCgpbd8
+fiCjeVqOHl4f+xlNV+YmHfU=
+=urbS
-----END PGP SIGNATURE-----
diff --git a/sys-devel/binutils/binutils-2.14.90.0.2.ebuild b/sys-devel/binutils/binutils-2.14.90.0.2.ebuild
deleted file mode 100644
index 300054e72428..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.2.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.2.ebuild,v 1.21 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86 ppc -alpha sparc mips -hppa "
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- 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_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
- # There is a bug in binutils 2.14.* which causes a segfault in certain
- # circumstances when linking. This bug does not exist in binutils 2.11.*.
- #
- # More details on the bug can be found here:
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html
- #
- # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for
- # reporting.
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
- use arm && replace-flags -O? -O1
-
- 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 ! use build
- then
- if ! 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
-
- if [ -n "${PROFILE_ARCH}" ] && \
- [ "${PROFILE_ARCH/64}" != "${PROFILE_ARCH}" ]
- then
- dosym ${CHOST} /usr/${CHOST/-/64-}
-
- for x in `ls ${D}/usr/${CHOST}/bin/`
- do
- [ ! -e "${D}/usr/bin/${CHOST}-${x}" ] && \
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST}-${x}
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST/-/64-}-${x}
- done
- fi
-
- cd ${S}
- if ! 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-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild
deleted file mode 100644
index a4ad78f3d9ea..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.4.1-r1.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# 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-r1.ebuild,v 1.14 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 -x86 -ppc -alpha -sparc mips -hppa "
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- 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_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.4-eh-frame-ro.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ltconfig-multilib.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-cfi.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-pie.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ppc-bigplt.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-pt-gnu-stack.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-gas-execstack.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-cfi2.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-pie2.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ppc64-ctors.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-ppc64-prelink.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-cfi3.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-cfi4.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.4-gas-pred.patch
- 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
- 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
- # There is a bug in binutils 2.14.* which causes a segfault in certain
- # circumstances when linking. This bug does not exist in binutils 2.11.*.
- #
- # More details on the bug can be found here:
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html
- #
- # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for
- # reporting.
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.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
-
- # 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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
- use arm && replace-flags -O? -O1
-
- 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 ! use build
- then
- if ! 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
-
- if [ -n "${PROFILE_ARCH}" ] && \
- [ "${PROFILE_ARCH/64}" != "${PROFILE_ARCH}" ]
- then
- dosym ${CHOST} /usr/${CHOST/-/64-}
-
- for x in `ls ${D}/usr/${CHOST}/bin/`
- do
- [ ! -e "${D}/usr/bin/${CHOST}-${x}" ] && \
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST}-${x}
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST/-/64-}-${x}
- done
- fi
-
- cd ${S}
- if ! 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-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild
deleted file mode 100644
index c4364cd4b1c8..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.5-r1.ebuild
+++ /dev/null
@@ -1,179 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# 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-r1.ebuild,v 1.13 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc -alpha ~sparc ~mips -hppa "
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- 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_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.5-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-s390-pie.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-pie.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-ldr.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-power4.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-mask.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-fdesc.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.5-ppc64-elfvsb.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
- # There is a bug in binutils 2.14.* which causes a segfault in certain
- # circumstances when linking. This bug does not exist in binutils 2.11.*.
- #
- # More details on the bug can be found here:
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html
- #
- # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for
- # reporting.
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
- use arm && replace-flags -O? -O1
-
- 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 ! use build
- then
- if ! 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 ! 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-r2.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild
deleted file mode 100644
index a3edabc51c41..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.6-r2.ebuild
+++ /dev/null
@@ -1,176 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# 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-r2.ebuild,v 1.12 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 x86 ~ppc ~alpha ~sparc mips ~hppa "
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- 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_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
-# This one cause failures in sash and util-linux-2.12 (bug #27330)
-# 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
- # There is a bug in binutils 2.14.* which causes a segfault in certain
- # circumstances when linking. This bug does not exist in binutils 2.11.*.
- #
- # More details on the bug can be found here:
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html
- #
- # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for
- # reporting.
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
- use arm && replace-flags -O? -O1
-
- 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 ! use build
- then
- if ! 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 ! 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-r3.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6-r3.ebuild
deleted file mode 100644
index 6112fa42558c..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.6-r3.ebuild
+++ /dev/null
@@ -1,188 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# 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-r3.ebuild,v 1.14 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~x86 ~ppc ~alpha ~sparc ~mips ~hppa ia64"
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- 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_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
-# This one cause failures in sash and util-linux-2.12 (bug #27330)
-# 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
- # There is a bug in binutils 2.14.* which causes a segfault in certain
- # circumstances when linking. This bug does not exist in binutils 2.11.*.
- #
- # More details on the bug can be found here:
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00559.html
- # http://sources.redhat.com/ml/bug-binutils/2003-q3/msg00735.html
- #
- # Bug #27492, thanks to Adam Chodorowski <adam@chodorowski.com> for
- # reporting.
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-dont-crash-on-null-owner.patch
- # This increase c++ linking 2 to 3 times, bug #27540.
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-cxx-speedup.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-bfd-elf-interp.patch
-
- if [ "${ARCH}" == "hppa" ] || [ "${ARCH}" == "hppa64" ]
- then
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-hppa-static.diff
- fi
- if [ "${ARCH}" == "amd64" ]
- then
- epatch ${FILESDIR}/${PN}-2.14.amd64-32bit-path-fix.patch
- fi
-
- 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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
- use arm && replace-flags -O? -O1
-
- 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 ! use build
- then
- if ! 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 ! 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.7.ebuild b/sys-devel/binutils/binutils-2.14.90.0.7.ebuild
deleted file mode 100644
index 01220db9d3b4..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.7.ebuild
+++ /dev/null
@@ -1,191 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.7.ebuild,v 1.15 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 -ppc ~alpha ~sparc ~mips -hppa ~ia64"
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- nls? ( sys-devel/gettext )
- !build? ( !bootstrap? ( dev-lang/perl ) )"
-
-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-2.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-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
-
-# This one seems to be partly merged, will need to check later on why
-# some bits to bfd/elf-strtab.c was not merged ...
- # This increase c++ linking 2 to 3 times, bug #27540.
-# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-merge-speedup.patch
-
- # Some IA64 patches
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-ia64-speedup.patch
-
- if [ "${ARCH}" = "amd64" ]
- then
- epatch ${FILESDIR}/${PN}-2.14.amd64-32bit-path-fix.patch
- fi
-
- 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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
-
- local myconf=
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa
- # Filter CFLAGS=".. -O2 .." on arm
- use arm && replace-flags -O? -O
- # GCC 3.4 miscompiles binutils unless CFLAGS are conservative #47581
- has_version "=sys-devel/gcc-3.4*" && strip-flags && replace-flags -O3 -O2
-
- # 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 ! use build
- then
- if ! 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
-
- if [ -n "${PROFILE_ARCH}" ] && \
- [ "${PROFILE_ARCH/64}" != "${PROFILE_ARCH}" ]
- then
- dosym ${CHOST} /usr/${CHOST/-/64-}
-
- for x in `ls ${D}/usr/${CHOST}/bin/`
- do
- [ ! -e "${D}/usr/bin/${CHOST}-${x}" ] && \
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST}-${x}
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST/-/64-}-${x}
- done
- fi
-
- cd ${S}
- if ! 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.8.ebuild b/sys-devel/binutils/binutils-2.14.90.0.8.ebuild
deleted file mode 100644
index 6a68384024aa..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.8.ebuild
+++ /dev/null
@@ -1,170 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.8.ebuild,v 1.11 2004/08/14 02:27:55 vapier Exp $
-
-inherit eutils libtool flag-o-matic
-
-PATCHVER="1.1"
-DESCRIPTION="Tools necessary to build programs"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SRC_URI="mirror://kernel/linux/devel/binutils/${P}.tar.bz2
- mirror://kernel/linux/devel/binutils/test/${P}.tar.bz2
- mirror://gentoo/${P}-patches-${PATCHVER}.tar.bz2"
-
-LICENSE="GPL-2 | LGPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86 ~ppc ~alpha ~sparc -mips ~hppa ~ia64 ~ppc64"
-IUSE="nls bootstrap build"
-
-DEPEND="virtual/libc
- nls? ( sys-devel/gettext )
- !build? ( !bootstrap? ( dev-lang/perl ) )"
-
-src_unpack() {
- unpack ${A}
-
- cd ${S}
-
- # The prescott patch is not ready yet.
- mkdir ${WORKDIR}/patch/skip
- mv ${WORKDIR}/patch/05* ${WORKDIR}/patch/skip/
-
- epatch ${WORKDIR}/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() {
- # Generate borked binaries. Bug #6730
- filter-flags -fomit-frame-pointer -fssa -freduce-all-givs
-
- local myconf=
-
- use nls && \
- myconf="${myconf} --without-included-gettext" || \
- myconf="${myconf} --disable-nls"
-
- # Filter CFLAGS=".. -O2 .." on arm
- use arm && replace-flags -O? -O
- # GCC 3.4 miscompiles binutils unless CFLAGS are conservative #47581
- has_version "=sys-devel/gcc-3.4*" && strip-flags && replace-flags -O3 -O2
-
- # 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 ! use build
- then
- if ! 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
-
- if [ -n "${PROFILE_ARCH}" ] && \
- [ "${PROFILE_ARCH/64}" != "${PROFILE_ARCH}" ]
- then
- dosym ${CHOST} /usr/${CHOST/-/64-}
-
- for x in `ls ${D}/usr/${CHOST}/bin/`
- do
- [ ! -e "${D}/usr/bin/${CHOST}-${x}" ] && \
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST}-${x}
- dosym ../${CHOST}/bin/${x} /usr/bin/${CHOST/-/64-}-${x}
- done
- fi
-
- cd ${S}
- if ! 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/2.13/binutils-2.13.90.0.18-ltconfig-multilib.patch b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-ltconfig-multilib.patch
deleted file mode 100644
index 26dfb8492c3c..000000000000
--- a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-ltconfig-multilib.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- ltconfig.jj 2003-02-03 16:56:49.000000000 +0900
-+++ ltconfig 2003-02-03 16:56:49.000000000 +0900
-@@ -1237,6 +1237,23 @@
- # people can always --disable-shared, the test was removed, and we
- # assume the GNU/Linux dynamic linker is in use.
- dynamic_linker='GNU/Linux ld.so'
-+
-+ # Find out which ABI we are using (multilib hack).
-+ case "$host_cpu" in
-+ x86_64*|s390*|sparc*|ppc*|powerpc*)
-+ echo "$progname:@lineno@: checking multilib ABI type" 1>&5
-+ touch conftest.$ac_ext
-+ if { (eval echo $progname: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>conftest.err; } && test -s conftest.$objext; then
-+ case `/usr/bin/file conftest.o` in
-+ *64-bit*)
-+ sys_lib_dlsearch_path_spec="/lib64 /usr/lib64"
-+ sys_lib_search_path_spec="/lib64 /usr/lib64 /usr/local/lib64"
-+ ;;
-+ esac
-+ fi
-+ rm -rf conftest*
-+ ;;
-+ esac
- ;;
-
- netbsd*)
diff --git a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-s390-file-loc.patch b/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-s390-file-loc.patch
deleted file mode 100644
index 43d0c64f1f91..000000000000
--- a/sys-devel/binutils/files/2.13/binutils-2.13.90.0.18-s390-file-loc.patch
+++ /dev/null
@@ -1,40 +0,0 @@
-2003-02-10 Jakub Jelinek <jakub@redhat.com>
-
- * config/tc-s390.c (md_pseudo_table): Add .file and .loc.
- * config/tc-s390.h (DWARF2_LINE_MIN_INSN_LENGTH): Set to 2.
-
---- gas/config/tc-s390.c.jj 2003-02-05 18:24:45.000000000 -0500
-+++ gas/config/tc-s390.c 2003-02-10 07:56:19.000000000 -0500
-@@ -82,7 +82,7 @@ static void s390_literals PARAMS ((int))
-
- const pseudo_typeS md_pseudo_table[] =
- {
-- { "align", s_align_bytes, 0 },
-+ { "align", s_align_bytes, 0 },
- /* Pseudo-ops which must be defined. */
- { "bss", s390_bss, 0 },
- { "insn", s390_insn, 0 },
-@@ -93,6 +93,8 @@ const pseudo_typeS md_pseudo_table[] =
- { "quad", s390_elf_cons, 8 },
- { "ltorg", s390_literals, 0 },
- { "string", stringer, 2 },
-+ { "file", (void (*) PARAMS ((int))) dwarf2_directive_file, 0 },
-+ { "loc", dwarf2_directive_loc, 0 },
- { NULL, NULL, 0 }
- };
-
---- gas/config/tc-s390.h.jj 2003-01-24 18:17:06.000000000 -0500
-+++ gas/config/tc-s390.h 2003-02-10 07:54:50.000000000 -0500
-@@ -1,5 +1,5 @@
- /* tc-s390.h -- Header file for tc-s390.c.
-- Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
-+ Copyright 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
- Written by Martin Schwidefsky (schwidefsky@de.ibm.com).
-
- This file is part of GAS, the GNU Assembler.
-@@ -98,3 +98,5 @@ extern long md_pcrel_from_section PARAMS
-
- extern void s390_md_end PARAMS ((void));
- #define md_end() s390_md_end ()
-+
-+#define DWARF2_LINE_MIN_INSN_LENGTH 2
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.2 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.2
deleted file mode 100644
index 292192a1e1e2..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 62b779abb60cc8ce08687fb218b829be binutils-2.14.90.0.2.tar.bz2 10345971
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1-r1 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1-r1
deleted file mode 100644
index 4d12da56df02..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.4.1-r1
+++ /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-r1 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.5-r1
deleted file mode 100644
index 0e19b24ec983..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.5-r1
+++ /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-r2 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r2
deleted file mode 100644
index 26abe27b6c76..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 71b99dba3045a359dc314dbebedcf502 binutils-2.14.90.0.6.tar.bz2 10399066
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r3 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r3
deleted file mode 100644
index 26abe27b6c76..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 71b99dba3045a359dc314dbebedcf502 binutils-2.14.90.0.6.tar.bz2 10399066
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.7 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.7
deleted file mode 100644
index 07f652ab2119..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.7
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b5b1608f7308c487c0f3af8e4592a71a binutils-2.14.90.0.7.tar.bz2 10575077
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.8 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.8
deleted file mode 100644
index 36df18abf300..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.8
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 3e28792a585e14b57838cd24130a24dd binutils-2.14.90.0.8.tar.bz2 11015696
-MD5 f13ef0904fd2c70ec2d303b3f85b359d binutils-2.14.90.0.8-patches-1.1.tar.bz2 17207