diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2003-05-17 18:24:54 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2003-05-17 18:24:54 +0000 |
commit | a5f6566398063cf6351998e79168ddb5dd0dff6c (patch) | |
tree | f0554f4b9ec445e0c42eb9dc186e544eec151d76 /sys-devel/binutils | |
parent | masking guile 1.5.x. (diff) | |
download | gentoo-2-a5f6566398063cf6351998e79168ddb5dd0dff6c.tar.gz gentoo-2-a5f6566398063cf6351998e79168ddb5dd0dff6c.tar.bz2 gentoo-2-a5f6566398063cf6351998e79168ddb5dd0dff6c.zip |
new version
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r-- | sys-devel/binutils/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/binutils/Manifest | 3 | ||||
-rw-r--r-- | sys-devel/binutils/binutils-2.14.90.0.2.ebuild | 169 | ||||
-rw-r--r-- | sys-devel/binutils/files/digest-binutils-2.14.90.0.2 | 1 |
4 files changed, 180 insertions, 1 deletions
diff --git a/sys-devel/binutils/ChangeLog b/sys-devel/binutils/ChangeLog index 8e45863b89aa..ec0a067ad42e 100644 --- a/sys-devel/binutils/ChangeLog +++ b/sys-devel/binutils/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-devel/binutils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.48 2003/05/16 22:22:13 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.49 2003/05/17 18:24:54 azarah Exp $ + +*binutils-2.14.90.0.2 (17 May 2003) + + 17 May 2003; Martin Schlemmer <azarah@gentoo.org> + binutils-2.14.90.0.2.ebuild: + New version. 17 May 2003; Martin Schlemmer <azarah@gentoo.org> binutils-2.13.90.0.10.ebuild, binutils-2.13.90.0.10.ebuild, diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest index 3dddbd738a60..7c10a9fe5679 100644 --- a/sys-devel/binutils/Manifest +++ b/sys-devel/binutils/Manifest @@ -2,18 +2,21 @@ MD5 d189f3ead52fedbc4494c79157c153f7 binutils-2.11.92.0.12.3-r2.ebuild 3134 MD5 a665aacd5e8087aa9c51272fa8c357c7 binutils-2.11.92.0.7.ebuild 2366 MD5 743a59e3857ba3b11beab01e6a5442b5 binutils-2.12.90.0.15.ebuild 3521 MD5 aed3681ad237eeaaccd17a4a5966d725 binutils-2.12.90.0.7.ebuild 3603 +MD5 2a392e28ca65edbaf0d18dc0e0dacea4 binutils-2.14.90.0.2.ebuild 5064 MD5 3bf4a17724ab3e317c2bb842f5dd2f6a ChangeLog 8632 MD5 ed576951d457ad0859d7bc478825d98b binutils-2.13.90.0.16-r1.ebuild 4756 MD5 e1927e081c7b34cb5101d5f5671e6be8 binutils-2.13.90.0.18-r1.ebuild 5393 MD5 52b2017b96fd39fe88f13a6ddacbac93 binutils-2.13.90.0.18.ebuild 4597 MD5 1649d6367d06c9a414012cc7ce7bccc0 binutils-2.13.90.0.20-r1.ebuild 5033 MD5 8e83496bc378fe5a5318266f77f7a940 binutils-2.14.90.0.1-r1.ebuild 5129 +MD5 fad020619c1fac6620a53a4b1390e41d .binutils-2.14.90.0.2.ebuild.swp 16384 MD5 fe5fb935b171a472f5eb1a8bca63c136 files/binutils-2.12.90.0.14-glibc21.patch 7936 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 6c32de9a9503293bb03048f09dadc182 files/digest-binutils-2.11.92.0.7 74 MD5 e6b97971464cab854a321254d84ae44f files/digest-binutils-2.12.90.0.15 75 MD5 64f2cf145447cc0996540814afb15c68 files/digest-binutils-2.12.90.0.7 74 +MD5 bac15ed517ba3cc1eb3c08f463654aad files/digest-binutils-2.14.90.0.2 75 MD5 4270b9eea6fb9d807bc63ba0a221ea9b files/digest-binutils-2.13.90.0.18 75 MD5 b7ccd9bdcb0ab7c26bcf2a3e4c2e2afc files/digest-binutils-2.13.90.0.16-r1 75 MD5 d435975192db69b96d36c62e2ad0876c files/digest-binutils-2.13.90.0.18-r1 160 diff --git a/sys-devel/binutils/binutils-2.14.90.0.2.ebuild b/sys-devel/binutils/binutils-2.14.90.0.2.ebuild new file mode 100644 index 000000000000..e253edc94ae8 --- /dev/null +++ b/sys-devel/binutils/binutils-2.14.90.0.2.ebuild @@ -0,0 +1,169 @@ +# 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.2.ebuild,v 1.1 2003/05/17 18:24:54 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="ftp://ftp.kernel.org/pub/linux/devel/binutils/${P}.tar.bz2 + ftp://ftp.kernel.org/pub/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 + + # 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/files/digest-binutils-2.14.90.0.2 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.2 new file mode 100644 index 000000000000..292192a1e1e2 --- /dev/null +++ b/sys-devel/binutils/files/digest-binutils-2.14.90.0.2 @@ -0,0 +1 @@ +MD5 62b779abb60cc8ce08687fb218b829be binutils-2.14.90.0.2.tar.bz2 10345971 |