summaryrefslogtreecommitdiffstats
path: root/Makefile.inc1
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-01-16 07:10:42 +0000
committerngie <ngie@FreeBSD.org>2017-01-16 07:10:42 +0000
commit6eb1d2d04c31c641a6bb83864c1075057f5fc46e (patch)
tree090b7f948defda7c270e64e880744cb91637b8e0 /Makefile.inc1
parent0f07b281f60c2684440eeec748ea7677c450ff16 (diff)
downloadFreeBSD-src-6eb1d2d04c31c641a6bb83864c1075057f5fc46e.zip
FreeBSD-src-6eb1d2d04c31c641a6bb83864c1075057f5fc46e.tar.gz
MFC r311140:
Only bake krb5_config.h support in to ssh(3), etc if both MK_GSSAPI and MK_KERBEROS_SUPPORT != no This fixes the odd case where someone specified MK_GSSAPI=no and MK_KERBEROS_SUPPORT=yes (which admittedly, probably doesn't make sense, but the build system doesn't prevent this case today, and it didn't when I filed the bug back in 2011 either). PR: 159745
Diffstat (limited to 'Makefile.inc1')
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ccc6fb1..f6813bf 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2099,7 +2099,7 @@ secure/lib/libssh__L: lib/libz__L secure/lib/libcrypto__L lib/libcrypt__L
.if ${MK_LDNS} != "no"
secure/lib/libssh__L: lib/libldns__L
.endif
-.if ${MK_KERBEROS_SUPPORT} != "no"
+.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
secure/lib/libssh__L: lib/libgssapi__L kerberos5/lib/libkrb5__L \
kerberos5/lib/libhx509__L kerberos5/lib/libasn1__L lib/libcom_err__L \
lib/libmd__L kerberos5/lib/libroken__L
OpenPOWER on IntegriCloud