summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2004-01-18 13:23:29 +0000
committerMartin Schlemmer <azarah@gentoo.org>2004-01-18 13:23:29 +0000
commit4964624c815d3ae8305e5df96b7e0fc842715cc0 (patch)
tree856306e83012e488cd5f2dcf1f55186d363e4d4d /sys-devel
parentUpdate snapshot to 20040117. (Manifest recommit) (diff)
downloadgentoo-2-4964624c815d3ae8305e5df96b7e0fc842715cc0.tar.gz
gentoo-2-4964624c815d3ae8305e5df96b7e0fc842715cc0.tar.bz2
gentoo-2-4964624c815d3ae8305e5df96b7e0fc842715cc0.zip
Update version. Move patches to tarball. Many thanks to
Kumba <kumba@gentoo.org> for updating the pni (prescott support) patch and the mips-brswap patch.
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/binutils/ChangeLog10
-rw-r--r--sys-devel/binutils/Manifest4
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.8.ebuild180
-rw-r--r--sys-devel/binutils/files/digest-binutils-2.14.90.0.82
4 files changed, 194 insertions, 2 deletions
diff --git a/sys-devel/binutils/ChangeLog b/sys-devel/binutils/ChangeLog
index 020fcd12462c..0af93fe6b021 100644
--- a/sys-devel/binutils/ChangeLog
+++ b/sys-devel/binutils/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-devel/binutils
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.99 2004/01/18 09:59:52 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/ChangeLog,v 1.100 2004/01/18 13:23:29 azarah Exp $
+
+*binutils-2.14.90.0.8 (18 Jan 2004)
+
+ 18 Jan 2004; Martin Schlemmer <azarah@gentoo.org>
+ binutils-2.14.90.0.8.ebuild:
+ Update version. Move patches to tarball. Many thanks to
+ Kumba <kumba@gentoo.org> for updating the pni (prescott support) patch
+ and the mips-brswap patch.
*binutils-2.14.90.0.7-r4 (18 Jan 2004)
diff --git a/sys-devel/binutils/Manifest b/sys-devel/binutils/Manifest
index e3517b397cfc..ad5030ef7d02 100644
--- a/sys-devel/binutils/Manifest
+++ b/sys-devel/binutils/Manifest
@@ -6,8 +6,9 @@ MD5 992ba06da79506825be40df50ff3bcb0 binutils-2.13.90.0.18.ebuild 4570
MD5 69954925de777b2ba73326e70a3b70b1 binutils-2.14.90.0.6-r3.ebuild 6016
MD5 ed2d18cc790be6727df44072d0be509e binutils-2.14.90.0.7-r1.ebuild 5618
MD5 5fa33a572680fbbb08ac3676ff923ef4 binutils-2.13.90.0.16-r1.ebuild 4659
+MD5 7a6476822749bb2e7ba276142ca41d59 binutils-2.14.90.0.8.ebuild 4474
MD5 2f09d893da75b581d574a939be29aa62 binutils-2.12.90.0.15.ebuild 3499
-MD5 555fbb2e17b27d9802ba80c4f20597f6 ChangeLog 21498
+MD5 3ac66c28ba025882485a0614b2043c72 ChangeLog 21663
MD5 04a12a8278727d11476a189b20b6ef64 binutils-2.14.90.0.6-r7.ebuild 6741
MD5 531a75f2ef944442c80e56c440128051 binutils-2.11.92.0.7.ebuild 2322
MD5 da40f04058c215a45279b51798b1084e binutils-2.11.92.0.12.3-r2.ebuild 3044
@@ -37,6 +38,7 @@ MD5 6c32de9a9503293bb03048f09dadc182 files/digest-binutils-2.11.92.0.7 74
MD5 c19b60c5d77c4e0779d7820598b3b749 files/digest-binutils-2.14.90.0.7-r2 75
MD5 3b32997c2ca6b9893839c439e077e82d files/digest-binutils-2.14.90.0.6-r3 75
MD5 e6b97971464cab854a321254d84ae44f files/digest-binutils-2.12.90.0.15 75
+MD5 4f815f7f13b34c24939c85733607774b files/digest-binutils-2.14.90.0.8 159
MD5 c19b60c5d77c4e0779d7820598b3b749 files/digest-binutils-2.14.90.0.7 75
MD5 fe5fb935b171a472f5eb1a8bca63c136 files/binutils-2.12.90.0.14-glibc21.patch 7936
MD5 c16f13adaeb21909a350b0a562b8a4d5 files/2.13/binutils-2.13.90.0.16-ia64-bootstrap.patch 3535
diff --git a/sys-devel/binutils/binutils-2.14.90.0.8.ebuild b/sys-devel/binutils/binutils-2.14.90.0.8.ebuild
new file mode 100644
index 000000000000..bf348636eeba
--- /dev/null
+++ b/sys-devel/binutils/binutils-2.14.90.0.8.ebuild
@@ -0,0 +1,180 @@
+# Copyright 1999-2004 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.8.ebuild,v 1.1 2004/01/18 13:23:29 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"
+
+PATCHVER="1.1"
+
+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}-patches-${PATCHVER}.tar.bz2"
+HOMEPAGE="http://sources.redhat.com/binutils/"
+
+SLOT="0"
+LICENSE="GPL-2 | LGPL-2"
+KEYWORDS="~amd64 ~x86 ~ppc ~alpha ~sparc ~mips ~hppa ~arm ~ia64 ~ppc64"
+
+DEPEND="virtual/glibc
+ 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() {
+ local myconf=
+
+ use nls && \
+ myconf="${myconf} --without-included-gettext" || \
+ myconf="${myconf} --disable-nls"
+
+ # Filter CFLAGS=".. -O2 .." on arm
+ if [ "${ARCH}" = "arm" ]
+ then
+ CFLAGS="$(echo "${CFLAGS}" | sed -e 's,-O[2-9] ,-O1 ,')"
+ fi
+
+
+ # 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
+
+ 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 [ -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.8 b/sys-devel/binutils/files/digest-binutils-2.14.90.0.8
new file mode 100644
index 000000000000..36df18abf300
--- /dev/null
+++ b/sys-devel/binutils/files/digest-binutils-2.14.90.0.8
@@ -0,0 +1,2 @@
+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