commit:     a4020520a87cd2ea89fac60283a683084c51dec6
Author:     Mike Frysinger <vapier <AT> chromium <DOT> org>
AuthorDate: Fri May 18 07:58:11 2018 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Fri May 18 08:05:57 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4020520

dev-util/strace: use --enable-mpers=check everywhere #649560

We don't want to require full multilib toolchains everywhere, so
allow the mpers logic to fail at configure time.  We'll still get
a strace that handles native programs fine.

This also fixes aarch64 builds where the toolchain has no support
for multilib, and there are no plans to add it (i.e. armv7 with
aarch64).

Closes: https://bugs.gentoo.org/649560

 dev-util/strace/strace-4.21.ebuild | 5 ++++-
 dev-util/strace/strace-4.22.ebuild | 5 ++++-
 dev-util/strace/strace-9999.ebuild | 5 ++++-
 3 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/dev-util/strace/strace-4.21.ebuild 
b/dev-util/strace/strace-4.21.ebuild
index 1d065690273..62217d30456 100644
--- a/dev-util/strace/strace-4.21.ebuild
+++ b/dev-util/strace/strace-4.21.ebuild
@@ -64,7 +64,10 @@ src_configure() {
                export "${v}_FOR_BUILD=${!bv}"
        done
 
-       econf $(use_with unwind libunwind)
+       # Don't require mpers support on non-multilib systems. #649560
+       econf \
+               --enable-mpers=check \
+               $(use_with unwind libunwind)
 }
 
 src_test() {

diff --git a/dev-util/strace/strace-4.22.ebuild 
b/dev-util/strace/strace-4.22.ebuild
index 9fd23499e4d..216395c678c 100644
--- a/dev-util/strace/strace-4.22.ebuild
+++ b/dev-util/strace/strace-4.22.ebuild
@@ -63,7 +63,10 @@ src_configure() {
                export "${v}_FOR_BUILD=${!bv}"
        done
 
-       econf $(use_with unwind libunwind)
+       # Don't require mpers support on non-multilib systems. #649560
+       econf \
+               --enable-mpers=check \
+               $(use_with unwind libunwind)
 }
 
 src_test() {

diff --git a/dev-util/strace/strace-9999.ebuild 
b/dev-util/strace/strace-9999.ebuild
index 9a46478721f..f9e3966c500 100644
--- a/dev-util/strace/strace-9999.ebuild
+++ b/dev-util/strace/strace-9999.ebuild
@@ -63,7 +63,10 @@ src_configure() {
                export "${v}_FOR_BUILD=${!bv}"
        done
 
-       econf $(use_with unwind libunwind)
+       # Don't require mpers support on non-multilib systems. #649560
+       econf \
+               --enable-mpers=check \
+               $(use_with unwind libunwind)
 }
 
 src_test() {

Reply via email to