summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-23 04:47:49 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-23 04:47:49 +0000
commitcb4d05ae361e62fc80820159585275e9db63e218 (patch)
treeeb763a850f25bb0be501c2cfcf183b366d4e2ac9 /sys-devel
parentAdded to ~sparc. (diff)
downloadhistorical-cb4d05ae361e62fc80820159585275e9db63e218.tar.gz
historical-cb4d05ae361e62fc80820159585275e9db63e218.tar.bz2
historical-cb4d05ae361e62fc80820159585275e9db63e218.zip
old
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/Manifest38
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.6-r6.ebuild216
-rw-r--r--sys-devel/binutils/binutils-2.15.92.0.2.ebuild188
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r61
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.15.92.0.22
5 files changed, 17 insertions, 428 deletions
diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index 2ffcb4af6217..ebaa33b6fdca 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -2,33 +2,29 @@
Hash: SHA1
MD5 3e6aa724ec77fbef45cdd00763bc408d ChangeLog 36805
-MD5 cd734e8129f806b940e41f3dd618e10f binutils-2.15.92.0.2-r2.ebuild 530
-MD5 7ad231c717fbcebf8be7059ad29f273d binutils-2.15.90.0.1.1-r1.ebuild 4755
-MD5 49e852b8fe8101cd814b93eac95326eb binutils-2.14.90.0.6-r6.ebuild 6613
MD5 1bb1dac74aec61b33248f85c53583a6e binutils-2.14.90.0.6-r7.ebuild 6738
-MD5 b80c33b9ecdee15dcfe073ac18bffbbe binutils-2.15.90.0.1.1-r3.ebuild 4796
-MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
MD5 87ca3fa1a3189445953eb76990dd07d2 binutils-2.14.90.0.7-r4.ebuild 6283
MD5 9bdfdde9790fd6f215adcaecaa6806ad binutils-2.14.90.0.8-r1.ebuild 5050
+MD5 7ad231c717fbcebf8be7059ad29f273d binutils-2.15.90.0.1.1-r1.ebuild 4755
+MD5 b80c33b9ecdee15dcfe073ac18bffbbe binutils-2.15.90.0.1.1-r3.ebuild 4796
MD5 0c25a829197c155f46205e5a23ea4e16 binutils-2.15.90.0.3-r3.ebuild 4975
MD5 0a2e87d8fa7ba203b47fc8f5c795ec42 binutils-2.15.91.0.1.ebuild 4707
MD5 47b50dfab666ec01e53e417deeb957d5 binutils-2.15.91.0.2.ebuild 5161
-MD5 76228e4ad667857b1d8d271548dbf345 binutils-2.15.92.0.2.ebuild 5188
MD5 5d78590cad68180dcaeac4774a2a8b5e binutils-2.15.92.0.2-r1.ebuild 4872
-MD5 1b43962f0560663b6b0f58ffa918a8ff files/digest-binutils-2.15.92.0.2-r2 242
+MD5 cd734e8129f806b940e41f3dd618e10f binutils-2.15.92.0.2-r2.ebuild 530
+MD5 567094e03359ffc1c95af7356395228d metadata.xml 162
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-r4 75
+MD5 d57be7837bb42388ad4f1f9eec6fe699 files/digest-binutils-2.14.90.0.8-r1 160
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 9ee0463e60aaa51448aba92f5fc86f04 files/digest-binutils-2.15.91.0.1 159
-MD5 66df5567226338b7504bbd3c25cea92c files/libiberty-pic.patch 370
-MD5 d7b731f4b07cbc162f9b1391317294b1 files/digest-binutils-2.15.92.0.2 159
MD5 754cfdc4c162c0cac9c073198f732fdb files/digest-binutils-2.15.91.0.2 159
-MD5 d57be7837bb42388ad4f1f9eec6fe699 files/digest-binutils-2.14.90.0.8-r1 160
MD5 1b43962f0560663b6b0f58ffa918a8ff files/digest-binutils-2.15.92.0.2-r1 242
+MD5 1b43962f0560663b6b0f58ffa918a8ff files/digest-binutils-2.15.92.0.2-r2 242
+MD5 66df5567226338b7504bbd3c25cea92c files/libiberty-pic.patch 370
MD5 b811d65855a74369e0faccf7574b886b files/2.13/binutils-2.13.90.0.10-glibc21.patch 2931
MD5 1841b2037b3da0e0dfddb0345a0526e8 files/2.13/binutils-2.13.90.0.10-x86_64-gotpcrel.patch 769
MD5 cbf08de84154ca2dcf26e572f2892f00 files/2.13/binutils-2.13.90.0.10-x86_64-testsuite.patch 1205
@@ -36,7 +32,6 @@ MD5 c013cc4711373f43cb426e8b08d69ae1 files/2.13/binutils-2.13.90.0.18-testsuite-
MD5 feebd067c397d519e1ca9340606968a8 files/2.13/binutils-2.13.90.0.20-array-sects-compat.patch 1054
MD5 c98edbd5a87f00832a367a40a6e576d1 files/2.14/binutils-2.14.90.0.1-eh-frame-ro.patch 17942
MD5 e941bf2e41367989d389e2988672f87a files/2.14/binutils-2.14.90.0.1-sparc-nonpic.patch 3147
-MD5 1835ff629b956356a771fb7146d828c3 files/2.14/binutils-2.14.90.0.6-conf.patch 25485
MD5 04ed3642c4bebee3fe6de9e9e6e2f23b files/2.14/binutils-2.14.90.0.4-eh-frame-ro.patch 16503
MD5 60ff948d89725566178e8149375c3f31 files/2.14/binutils-2.14.90.0.4-gas-execstack.patch 3379
MD5 69161dd93a78ddede56256e0de28d282 files/2.14/binutils-2.14.90.0.4-gas-pred.patch 1104
@@ -60,6 +55,10 @@ MD5 d5afbb421242988c33551fdb2054581b files/2.14/binutils-2.14.90.0.5-s390-pie.pa
MD5 16fb9c43491e0ce0d22c9cba008ca983 files/2.14/binutils-2.14.90.0.6-bfd-elf-interp-3.patch 637
MD5 2bc2ff3c3e1b608f1c3776246a5000c1 files/2.14/binutils-2.14.90.0.6-bfd-elf-interp-4.patch 1284
MD5 f9b9a43d7cd42c79b7f8144c6611f31c files/2.14/binutils-2.14.90.0.6-bfd-elf-interp.patch 391
+MD5 37856b4142539ef22682d43cf880a0bf files/2.14/binutils-2.14.90.0.6-build_modules.patch 939
+MD5 f2b54c4e03c2df44407beec56efbc2bd files/2.14/binutils-2.14.90.0.6-cflags.patch 1645
+MD5 1835ff629b956356a771fb7146d828c3 files/2.14/binutils-2.14.90.0.6-conf.patch 25485
+MD5 8dfe15fc6599a60b3330ab9fdabaf60f files/2.14/binutils-2.14.90.0.6-debian.patch 7090
MD5 559bf684bf26c292862d4287f047111c files/2.14/binutils-2.14.90.0.6-dont-crash-on-null-owner.patch 822
MD5 e3d1a3d9743bd5831241af6920bef2ee files/2.14/binutils-2.14.90.0.6-eh-frame-ro-2.patch 14702
MD5 09de3fa664f792872af4d6a029909315 files/2.14/binutils-2.14.90.0.6-eh-frame-ro.patch 14503
@@ -70,20 +69,17 @@ MD5 838289404188a5a7a2decc03929d3900 files/2.14/binutils-2.14.90.0.6-ia64-speedu
MD5 9a8373e9701722d6f950a3e5a812254a files/2.14/binutils-2.14.90.0.6-merge-speedup.patch 20690
MD5 3cfd8cc4e3ad518ecd23ac97b74b3e73 files/2.14/binutils-2.14.90.0.6-ppc-bfd.patch 30980
MD5 d8d5ac89b17e62ac2e51374b05ceb9df files/2.14/binutils-2.14.90.0.6-sparc-cfi.patch 11029
+MD5 a911368168c533afc8a3292b66558b03 files/2.14/binutils-2.14.90.0.7-bfd-pt-gnu-segment-fix.patch 1130
MD5 8a0fb0b91441ffa6bd3bbea118d4fad8 files/2.14/binutils-2.14.90.0.7-ppc-reloc.patch 43472
MD5 769e30e09537d7bd8539e404cc3958aa files/2.14/binutils-2.14.90.0.7-tls-section-alignment.patch 37977
MD5 03d6c934577cf40ec75b41bfc38b48a0 files/2.14/binutils-mips-openssl-got-fix.patch 540
-MD5 a911368168c533afc8a3292b66558b03 files/2.14/binutils-2.14.90.0.7-bfd-pt-gnu-segment-fix.patch 1130
-MD5 37856b4142539ef22682d43cf880a0bf files/2.14/binutils-2.14.90.0.6-build_modules.patch 939
-MD5 f2b54c4e03c2df44407beec56efbc2bd files/2.14/binutils-2.14.90.0.6-cflags.patch 1645
-MD5 8dfe15fc6599a60b3330ab9fdabaf60f files/2.14/binutils-2.14.90.0.6-debian.patch 7090
+MD5 8f619fc0c409a5ba768f126f172ee6bc files/2.15/05_all_binutils-2.15-elf32-arm-textrel.patch 2009
MD5 907ce8c972e2a984590d4bfc04181c1d files/2.15/40_all_binutils-uclibc-linker.patch 530
MD5 bad6ba9f63eb3a86d7006191848a47b8 files/2.15/52_all_binutils-20040527-uclibc-100-conf.patch 21576
-MD5 8f619fc0c409a5ba768f126f172ee6bc files/2.15/05_all_binutils-2.15-elf32-arm-textrel.patch 2009
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBopw0HTu7gpaalycRAviEAKC8xcydKwfiGxR1Y/coll/PN3/IrgCfRV3y
-0Lb93E5jpvgXCgwqVaOqEUU=
-=sBwr
+iD8DBQFBosE6HTu7gpaalycRAoS1AKDyGdYn3mn/UVhL1pxT5oL5bbz+dgCghZO+
+bM8ZDPFsfxA91KigihInuB4=
+=/bNc
-----END PGP SIGNATURE-----
diff --git a/sys-devel/binutils/binutils-2.14.90.0.6-r6.ebuild b/sys-devel/binutils/binutils-2.14.90.0.6-r6.ebuild
deleted file mode 100644
index 22f46574d5f8..000000000000
--- a/sys-devel/binutils/binutils-2.14.90.0.6-r6.ebuild
+++ /dev/null
@@ -1,216 +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-r6.ebuild,v 1.16 2004/11/07 09:14:33 mr_bones_ 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="alpha amd64 ~hppa ia64 ~mips ppc sparc x86"
-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-sparc-cfi.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
-# 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-merge-speedup.patch
-
-# This breaks section attributes witch I posted to about here:
-#
-# http://gcc.gnu.org/ml/gcc/2003-10/msg00141.html
-#
-# epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-bfd-elf-interp.patch
-
- # Some IA64 patches
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-ia64-howto.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-ia64-sdata.patch
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-ia64-speedup.patch
-
- # Fix problems compiling kernels on PPC, bug #28011.
- EPATCH_OPTS="-l" \
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-ppc-bfd.patch
-
- # Set proper attributes for .interp section
- epatch ${FILESDIR}/2.14/${PN}-2.14.90.0.6-bfd-elf-interp-3.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
-
- # some uclibc patches
- epatch ${FILESDIR}/2.14/${P}-debian.patch
- epatch ${FILESDIR}/2.14/${P}-conf.patch
- epatch ${FILESDIR}/2.14/${P}-build_modules.patch
- epatch ${FILESDIR}/2.14/${P}-cflags.patch
- epatch ${FILESDIR}/2.15/40_all_binutils-uclibc-linker.patch
-}
-
-src_compile() {
- strip-linguas -i */po #42033
-
- # 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.15.92.0.2.ebuild b/sys-devel/binutils/binutils-2.15.92.0.2.ebuild
deleted file mode 100644
index 98ecc0920205..000000000000
--- a/sys-devel/binutils/binutils-2.15.92.0.2.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.15.92.0.2.ebuild,v 1.6 2004/11/07 09:14:33 mr_bones_ Exp $
-
-inherit eutils libtool flag-o-matic gnuconfig
-
-PATCHVER="1.0"
-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"
-IUSE="nls bootstrap build multitarget uclibc"
-
-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/
- mv ${WORKDIR}/patch/51* ${WORKDIR}/patch/skip/
- mv ${WORKDIR}/patch/52* ${WORKDIR}/patch/skip/
-
- # remove unused patches first (should not be in tarball at all)
- mv ${WORKDIR}/patch/{90,utils}* ${WORKDIR}/patch/skip/
-
- # uclibc uses non-relro version
- use uclibc \
- && mv ${WORKDIR}/patch/*relro* ${WORKDIR}/patch/skip/ \
- || mv ${WORKDIR}/patch/*no_rel_ro* ${WORKDIR}/patch/20_* ${WORKDIR}/patch/skip/
- mv ${WORKDIR}/patch/*ldsoconf* ${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
-
- gnuconfig_update
-}
-
-src_compile() {
- strip-linguas -i */po #42033
-
- # 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
-
- local myconf=
- [ ! -z "${CBUILD}" ] && myconf="--build=${CBUILD}"
- use nls \
- && myconf="${myconf} --without-included-gettext" \
- || myconf="${myconf} --disable-nls"
- use multitarget && myconf="${myconf} --enable-targets=all"
-
- # 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_test() {
- emake check
-}
-
-src_install() {
- make DESTDIR=${D} \
- 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 DESTDIR=${D} 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 gprof/bbconv.pl
- 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
-
- use uclibc && rm -rf ${D}/usr/lib/ldscripts
-
- # remove shared libs' links (.so) to build all apps against the static versions
- use uclibc && rm -f ${D}/usr/lib/lib{bfd,opcodes}.so ${D}/usr/lib/lib*.la
-}
diff --git a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r6 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r6
deleted file mode 100644
index 26abe27b6c76..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.14.90.0.6-r6
+++ /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.15.92.0.2 b/sys-devel/binutils/files/digest-binutils-2.15.92.0.2
deleted file mode 100644
index 5d7549498fde..000000000000
--- a/sys-devel/binutils/files/digest-binutils-2.15.92.0.2
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 702bc82d8b10914e112fb5c5d8b66498 binutils-2.15.92.0.2.tar.bz2 11019727
-MD5 990a8fbf2f149605491c66bf1e1275ed binutils-2.15.92.0.2-patches-1.0.tar.bz2 66650