commit:     0f079a0ab8ef42b18cfa4983a668dd431732f4db
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  6 11:24:32 2018 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Oct  6 11:27:14 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f079a0a

sys-devel/binutils: drop DEPEND+=binutils-libs for cross case

Nowadays' binutils does not need host's libiberty.a and builds
it's own copy for bootstrap. Drop ebuild dependency.

This allows users to use unstable cross-toolchain on stable systems
with less friction: no need to install unstable binutils-libs.

Reported-by: NeckTwi Ozfguah
Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>
Package-Manager: Portage-2.3.50, Repoman-2.3.11

 sys-devel/binutils/binutils-2.31.1-r1.ebuild | 8 +-------
 sys-devel/binutils/binutils-9999.ebuild      | 8 +-------
 2 files changed, 2 insertions(+), 14 deletions(-)

diff --git a/sys-devel/binutils/binutils-2.31.1-r1.ebuild 
b/sys-devel/binutils/binutils-2.31.1-r1.ebuild
index d7752af4f3f..180506d1f3e 100644
--- a/sys-devel/binutils/binutils-2.31.1-r1.ebuild
+++ b/sys-devel/binutils/binutils-2.31.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -79,12 +79,6 @@ DEPEND="${RDEPEND}
        sys-devel/flex
        virtual/yacc
 "
-if is_cross ; then
-       # The build assumes the host has libiberty and such when cross-compiling
-       # its build tools.  We should probably make binutils itself build a 
local
-       # copy to use, but until then, be lazy.
-       DEPEND+=" >=sys-libs/binutils-libs-${PV}"
-fi
 
 MY_BUILDDIR=${WORKDIR}/build
 

diff --git a/sys-devel/binutils/binutils-9999.ebuild 
b/sys-devel/binutils/binutils-9999.ebuild
index 93dcbdf26b0..52df1648f4f 100644
--- a/sys-devel/binutils/binutils-9999.ebuild
+++ b/sys-devel/binutils/binutils-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -79,12 +79,6 @@ DEPEND="${RDEPEND}
        sys-devel/flex
        virtual/yacc
 "
-if is_cross ; then
-       # The build assumes the host has libiberty and such when cross-compiling
-       # its build tools.  We should probably make binutils itself build a 
local
-       # copy to use, but until then, be lazy.
-       DEPEND+=" >=sys-libs/binutils-libs-${PV}"
-fi
 
 MY_BUILDDIR=${WORKDIR}/build
 

Reply via email to