commit:     2d6b5bfef068d61857adf806e082ff9966d2df3d
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  6 16:08:08 2024 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Aug  6 16:18:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d6b5bfe

app-crypt/adcli: 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>

 app-crypt/adcli/adcli-0.9.2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/app-crypt/adcli/adcli-0.9.2.ebuild 
b/app-crypt/adcli/adcli-0.9.2.ebuild
index d4fcead6bfc5..ba038ec845b4 100644
--- a/app-crypt/adcli/adcli-0.9.2.ebuild
+++ b/app-crypt/adcli/adcli-0.9.2.ebuild
@@ -31,5 +31,7 @@ src_prepare() {
 }
 
 src_configure() {
-       econf $(use_enable doc)
+       econf \
+               $(use_enable doc) \
+               KRB5_CONFIG="${ESYSROOT}"/usr/bin/krb5-config
 }

Reply via email to