Merge pull request #2304 from dm0-/fix-cross-openssh

net-misc/openssh: fix krb5-config detection
This commit is contained in:
David Michael 2016-12-06 20:50:47 -08:00 committed by GitHub
commit e5b3ce3d42
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,25 @@
From 56d0bb7810042e3967a377cda4e321685e173969 Mon Sep 17 00:00:00 2001
From: David Michael <david.michael@coreos.com>
Date: Tue, 6 Dec 2016 17:52:31 -0800
Subject: [PATCH] Find a host-prefixed krb5-config when cross-compiling
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 88c4633..4d9382c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4151,7 +4151,7 @@ AC_ARG_WITH([kerberos5],
AC_DEFINE([KRB5], [1], [Define if you want Kerberos 5 support])
KRB5_MSG="yes"
- AC_PATH_PROG([KRB5CONF], [krb5-config],
+ AC_PATH_TOOL([KRB5CONF], [krb5-config],
[$KRB5ROOT/bin/krb5-config],
[$KRB5ROOT/bin:$PATH])
if test -x $KRB5CONF ; then
--
2.7.4

View File

@ -152,6 +152,8 @@ src_prepare() {
)
sed -i "${sed_args[@]}" configure{.ac,} || die
epatch "${FILESDIR}"/${PN}-7.2_p1-fix-krb5-config.patch
epatch_user #473004
# Now we can build a sane merged version.h