From: Sergei Trofimovich Date: Mon, 28 Oct 2019 23:59:46 +0000 (+0000) Subject: sys-libs/binutils-libs: drop texinfo from DEPENDs, bug #622652 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=763246f9f9c17c795b8a299e9d97347a81df9a28;p=gentoo.git sys-libs/binutils-libs: drop texinfo from DEPENDs, bug #622652 Don't crash the build if texinfo is not installed. It's a port of a hack we have in sys-devel/binutils. Reported-by: William Throwe Closes: https://bugs.gentoo.org/622652 Package-Manager: Portage-2.3.78, Repoman-2.3.17 Signed-off-by: Sergei Trofimovich --- diff --git a/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild b/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild index 1d047890a615..193bdfdaded8 100644 --- a/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild +++ b/sys-libs/binutils-libs/binutils-libs-2.32-r1.ebuild @@ -25,7 +25,6 @@ KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 ~riscv s390 sh sp COMMON_DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]" DEPEND="${COMMON_DEPEND} - >=sys-apps/texinfo-4.7 nls? ( sys-devel/gettext )" # Need a newer binutils-config that'll reset include/lib symlinks for us. RDEPEND="${COMMON_DEPEND} @@ -105,6 +104,12 @@ multilib_src_configure() { ECONF_SOURCE=${S} \ econf "${myconf[@]}" + + # Prevent makeinfo from running as we don't build docs here. + # bug #622652 + sed -i \ + -e '/^MAKEINFO/s:=.*:= true:' \ + Makefile || die } multilib_src_install() {