summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-03-23 06:48:58 +0000
committerMike Frysinger <vapier@gentoo.org>2004-03-23 06:48:58 +0000
commitcbe8bdefcef736211f9954596475d2de9211b579 (patch)
treeccbf133af42359b3c15fb06b0bab082099487b92 /sys-devel/binutils
parentver bump (diff)
downloadgentoo-2-cbe8bdefcef736211f9954596475d2de9211b579.tar.gz
gentoo-2-cbe8bdefcef736211f9954596475d2de9211b579.tar.bz2
gentoo-2-cbe8bdefcef736211f9954596475d2de9211b579.zip
support $CBUILD
Diffstat (limited to 'sys-devel/binutils')
-rw-r--r--sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild10
-rw-r--r--sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild4
2 files changed, 6 insertions, 8 deletions
diff --git a/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild b/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild
index 70bf3365849d..a3b5ae7b1168 100644
--- a/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild
@@ -1,6 +1,6 @@
# 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-r1.ebuild,v 1.5 2004/03/02 15:29:10 iggy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.14.90.0.8-r1.ebuild,v 1.6 2004/03/23 06:48:58 vapier Exp $
IUSE="nls bootstrap build"
@@ -14,22 +14,20 @@ filter-flags "-fomit-frame-pointer -fssa"
PATCHVER="1.2"
-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/${P}-patches-${PATCHVER}.tar.bz2"
-HOMEPAGE="http://sources.redhat.com/binutils/"
-SLOT="0"
LICENSE="GPL-2 | LGPL-2"
+SLOT="0"
KEYWORDS="amd64 ~x86 ~ppc ~alpha ~sparc -mips ~hppa ~ia64 ~ppc64 s390"
DEPEND="virtual/glibc
nls? ( sys-devel/gettext )
!build? ( !bootstrap? ( dev-lang/perl ) )"
-
src_unpack() {
unpack ${A}
@@ -59,7 +57,7 @@ src_unpack() {
src_compile() {
local myconf=
-
+ [ ! -z "${CBUILD}" ] && myconf="--build=${CBUILD}"
use nls && \
myconf="${myconf} --without-included-gettext" || \
myconf="${myconf} --disable-nls"
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 976629645e77..8fae612ec8ba 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,6 +1,6 @@
# 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.2 2004/03/17 15:14:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/binutils/binutils-2.15.90.0.1.1.ebuild,v 1.3 2004/03/23 06:48:58 vapier Exp $
# NOTE to Maintainer: ChangeLog states that it no longer use perl to build
# the manpages, but seems this is incorrect ....
@@ -56,7 +56,7 @@ src_compile() {
filter-flags "-fomit-frame-pointer -fssa"
local myconf=
-
+ [ ! -z "${CBUILD}" ] && myconf="--build=${CBUILD}"
use nls \
&& myconf="${myconf} --without-included-gettext" \
|| myconf="${myconf} --disable-nls"