diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-03-17 15:14:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-03-17 15:14:04 +0000 |
commit | a5ae038f0bf86c2f6cbc159e56bb24b1c8a6afed (patch) | |
tree | ced10cfab647426a52ea69eb8be1aeecd96647cd /sys-devel | |
parent | Adding build dependencies to runtime dependencies. (Manifest recommit) (diff) | |
download | gentoo-2-a5ae038f0bf86c2f6cbc159e56bb24b1c8a6afed.tar.gz gentoo-2-a5ae038f0bf86c2f6cbc159e56bb24b1c8a6afed.tar.bz2 gentoo-2-a5ae038f0bf86c2f6cbc159e56bb24b1c8a6afed.zip |
time for hppa testing
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild | 48 |
1 files changed, 20 insertions, 28 deletions
diff --git a/sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild b/sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild index 67119576d12c..976629645e77 100644 --- a/sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild +++ b/sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild @@ -1,37 +1,30 @@ # 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.15.90.0.1.1.ebuild,v 1.1 2004/03/06 06:24:16 kumba Exp $ - -IUSE="nls bootstrap build" +# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild,v 1.2 2004/03/17 15:14:04 vapier Exp $ # 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.0" -S="${WORKDIR}/${P}" 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/${PN}-2.15.90.0.1-patches-${PATCHVER}.tar.bz2" -HOMEPAGE="http://sources.redhat.com/binutils/" -SLOT="0" LICENSE="GPL-2 | LGPL-2" -KEYWORDS="-*" +SLOT="0" +KEYWORDS="-* ~hppa" +IUSE="nls bootstrap build" DEPEND="virtual/glibc nls? ( sys-devel/gettext ) !build? ( !bootstrap? ( dev-lang/perl ) )" - src_unpack() { - unpack ${A} cd ${S} @@ -59,38 +52,38 @@ src_unpack() { } 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" + 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 - + use arm && replace-flags -O? -O # Fix /usr/lib/libbfd.la elibtoolize --portage - ./configure --enable-shared \ + ./configure \ + --enable-shared \ --enable-64-bit-bfd \ --prefix=/usr \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --host=${CHOST} \ - ${myconf} || die + ${myconf} \ + || die make configure-bfd || die make headers -C bfd || die - emake tooldir="${ROOT}/usr/bin" \ - all || die + emake tooldir="${ROOT}/usr/bin" all || die - if [ -z "`use build`" ] + if ! use build then - if [ -z "`use bootstrap`" ] + if ! use bootstrap then # Nuke the manpages to recreate them (only use this if we have perl) find . -name '*.1' -exec rm -f {} \; || : @@ -101,7 +94,6 @@ src_compile() { } src_install() { - make prefix=${D}/usr \ mandir=${D}/usr/share/man \ infodir=${D}/usr/share/info \ @@ -152,7 +144,7 @@ src_install() { fi cd ${S} - if [ -z "`use build`" ] + if ! use build then make prefix=${D}/usr \ mandir=${D}/usr/share/man \ |