From a4020520a87cd2ea89fac60283a683084c51dec6 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Fri, 18 May 2018 03:58:11 -0400 Subject: [PATCH] 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 1d065690273a..62217d304567 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 9fd23499e4d2..216395c678c1 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 9a46478721fc..f9e3966c500e 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() { -- 2.26.2