aboutsummaryrefslogtreecommitdiff
path: root/secure/lib/libssh
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2017-01-02 20:29:50 +0000
committerEnji Cooper <ngie@FreeBSD.org>2017-01-02 20:29:50 +0000
commit94ef145e6bc4cf40dd3a52e3bf96d54b4bf508dd (patch)
tree1d3b900682e5ab8c948ba9dc8a6d8b6389524db5 /secure/lib/libssh
parent86adac04b2906de4c743fc94ca44c1c8c1e6b1a3 (diff)
downloadsrc-94ef145e6bc4cf40dd3a52e3bf96d54b4bf508dd.tar.gz
src-94ef145e6bc4cf40dd3a52e3bf96d54b4bf508dd.zip
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). MFC after: 2 weeks PR: 159745
Notes
Notes: svn path=/head/; revision=311140
Diffstat (limited to 'secure/lib/libssh')
-rw-r--r--secure/lib/libssh/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile
index a352cbc03790..915e17cfab29 100644
--- a/secure/lib/libssh/Makefile
+++ b/secure/lib/libssh/Makefile
@@ -46,7 +46,7 @@ LIBADD+= ldns
CFLAGS+= -I${SSHDIR} -include ssh_namespace.h
SRCS+= ssh_namespace.h
-.if ${MK_KERBEROS_SUPPORT} != "no"
+.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
CFLAGS+= -include krb5_config.h
SRCS+= krb5_config.h
.endif