commit:     d4af3825ca318be673a2437b83279e1419ed29bb
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  6 15:23:20 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 15:23:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4af3825

net-fs/samba: Fix cross-compiling by pointing to krb5 location

This allows it to find krb5-config. The same is probably needed for Heimdal, but
I can't easily test that.

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

 net-fs/samba/samba-4.20.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-fs/samba/samba-4.20.2.ebuild b/net-fs/samba/samba-4.20.2.ebuild
index 03bbefce2036..55f811279821 100644
--- a/net-fs/samba/samba-4.20.2.ebuild
+++ b/net-fs/samba/samba-4.20.2.ebuild
@@ -288,7 +288,7 @@ multilib_src_configure() {
                $(multilib_native_usex python '' '--disable-python')
                $(multilib_native_use_enable zeroconf avahi)
                $(multilib_native_usex test '--enable-selftest' '')
-               $(usev system-mitkrb5 "--with-system-mitkrb5 
$(multilib_native_usex addc --with-experimental-mit-ad-dc '')")
+               $(usev system-mitkrb5 "--with-system-mitkrb5 ${ESYSROOT}/usr 
$(multilib_native_usex addc --with-experimental-mit-ad-dc '')")
                $(use_with debug lttng)
                $(use_with ldap)
                $(use_with profiling-data)

Reply via email to