commit:     3ce6c55610f11c10a3102a374b1c6c9b11140775
Author:     Christopher Byrne <salah.coronya <AT> gmail <DOT> com>
AuthorDate: Mon Dec  9 05:25:01 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 05:45:13 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce6c556

sys-auth/sssd: Build Python binding only on native arch for 2.10.x

mutlilib 32-bit buildn't won't work if we try to compile for both
abis. Python isn't multilib, so just build the bindings for native
abi. Also, libcap needs to be ${MULTILIB_USEDEP} too.

One of the tests requires Valgrind, so disable that test

Closes: https://bugs.gentoo.org/946102
Signed-off-by: Christopher Byrne <salah.coronya <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/39644
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-auth/sssd/sssd-2.10.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/sssd/sssd-2.10.0.ebuild b/sys-auth/sssd/sssd-2.10.0.ebuild
index b885b50db19b..204d1d9d440c 100644
--- a/sys-auth/sssd/sssd-2.10.0.ebuild
+++ b/sys-auth/sssd/sssd-2.10.0.ebuild
@@ -191,7 +191,7 @@ src_prepare() {
 
        # requires valgrind headers installed
        sed -i \
-               -e '/^\s*test-iobuf[ \\]*$/d' \
+               -e '/^\s*test_iobuf[ \\]*$/d' \
                Makefile.am \
                || die
 
@@ -252,7 +252,7 @@ multilib_src_configure() {
                --with-subid
                $(use_enable systemtap)
                --without-python2-bindings
-               --with-python3-bindings
+               $(multilib_native_with python3-bindings)
                # Annoyingly configure requires that you pick systemd XOR sysv
                --with-initscript=$(usex systemd systemd sysv)
                --with-sssd-user=sssd

Reply via email to