From 0f079a0ab8ef42b18cfa4983a668dd431732f4db Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sat, 6 Oct 2018 12:24:32 +0100 Subject: [PATCH] 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 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 d7752af4f3ff..180506d1f3ec 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 93dcbdf26b08..52df1648f4f1 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 -- 2.26.2