Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils/
Date: Thu, 26 May 2022 05:48:19
Message-Id: 1653544082.7fd549fdbb59bca06cce166c20419d9efffbd85f.sam@gentoo
1 commit: 7fd549fdbb59bca06cce166c20419d9efffbd85f
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 25 00:32:33 2022 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Thu May 26 05:48:02 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd549fd
7
8 sys-devel/binutils: use econf; sync from live
9
10 1. Sync more with binutils-libs by using econf instead of raw ./configure call;
11 means we benefit from some of the default arguments it passes, in particular
12 thinking of silent rules which upstream are starting to support more now too
13 (and enable by default) which econf disables.
14
15 Also, we use it fine in binutils-libs w/o issue.
16
17 2. Pick up changes from live ebuild.
18
19 Signed-off-by: Sam James <sam <AT> gentoo.org>
20
21 sys-devel/binutils/binutils-9999.ebuild | 6 ++----
22 1 file changed, 2 insertions(+), 4 deletions(-)
23
24 diff --git a/sys-devel/binutils/binutils-9999.ebuild b/sys-devel/binutils/binutils-9999.ebuild
25 index 10b90a94daee..b317d8ffcd0f 100644
26 --- a/sys-devel/binutils/binutils-9999.ebuild
27 +++ b/sys-devel/binutils/binutils-9999.ebuild
28 @@ -175,7 +175,7 @@ src_configure() {
29 done
30 echo
31
32 - cd "${MY_BUILDDIR}"
33 + cd "${MY_BUILDDIR}" || die
34 local myconf=()
35
36 if use plugins ; then
37 @@ -248,7 +248,6 @@ src_configure() {
38 --with-bugurl="$(toolchain-binutils_bugurl)"
39 --with-pkgversion="$(toolchain-binutils_pkgversion)"
40 $(use_enable static-libs static)
41 - ${EXTRA_ECONF}
42 # Disable modules that are in a combined binutils/gdb tree, bug #490566
43 --disable-{gdb,libdecnumber,readline,sim}
44 # Strip out broken static link flags.
45 @@ -276,8 +275,7 @@ src_configure() {
46 fi
47 fi
48
49 - echo ./configure "${myconf[@]}"
50 - "${S}"/configure "${myconf[@]}" || die
51 + ECONF_SOURCE="${S}" econf "${myconf[@]}" || die
52
53 # Prevent makeinfo from running if doc is unset.
54 if ! use doc ; then