From 7fd549fdbb59bca06cce166c20419d9efffbd85f Mon Sep 17 00:00:00 2001 From: Sam James Date: Mon, 25 Apr 2022 01:32:33 +0100 Subject: [PATCH] sys-devel/binutils: use econf; sync from live 1. Sync more with binutils-libs by using econf instead of raw ./configure call; means we benefit from some of the default arguments it passes, in particular thinking of silent rules which upstream are starting to support more now too (and enable by default) which econf disables. Also, we use it fine in binutils-libs w/o issue. 2. Pick up changes from live ebuild. Signed-off-by: Sam James --- sys-devel/binutils/binutils-9999.ebuild | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild index 10b90a94daeed..b317d8ffcd0fb 100644 --- a/sys-devel/binutils/binutils-9999.ebuild +++ b/sys-devel/binutils/binutils-9999.ebuild @@ -175,7 +175,7 @@ src_configure() { done echo - cd "${MY_BUILDDIR}" + cd "${MY_BUILDDIR}" || die local myconf=() if use plugins ; then @@ -248,7 +248,6 @@ src_configure() { --with-bugurl="$(toolchain-binutils_bugurl)" --with-pkgversion="$(toolchain-binutils_pkgversion)" $(use_enable static-libs static) - ${EXTRA_ECONF} # Disable modules that are in a combined binutils/gdb tree, bug #490566 --disable-{gdb,libdecnumber,readline,sim} # Strip out broken static link flags. @@ -276,8 +275,7 @@ src_configure() { fi fi - echo ./configure "${myconf[@]}" - "${S}"/configure "${myconf[@]}" || die + ECONF_SOURCE="${S}" econf "${myconf[@]}" || die # Prevent makeinfo from running if doc is unset. if ! use doc ; then