commit:     af718ab0f8deb7ea9b0fed2715a1dccbd48d4a6e
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  6 16:17:09 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 16:18:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af718ab0

sys-auth/sssd: Fix cross-compiling by pointing to krb5-config location

You can set the flags directly, but krb5-config takes precedence, so use that.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-auth/sssd/sssd-2.9.5.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-auth/sssd/sssd-2.9.5.ebuild b/sys-auth/sssd/sssd-2.9.5.ebuild
index d83be12eeecc..c1195b951775 100644
--- a/sys-auth/sssd/sssd-2.9.5.ebuild
+++ b/sys-auth/sssd/sssd-2.9.5.ebuild
@@ -214,6 +214,7 @@ multilib_src_configure() {
                $(multilib_native_use_with python python3-bindings)
                # Annoyingly configure requires that you pick systemd XOR sysv
                --with-initscript=$(usex systemd systemd sysv)
+               KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
        )
 
        use systemd && myconf+=(

Reply via email to