diff options
author | ngie <ngie@FreeBSD.org> | 2017-01-16 07:10:42 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2017-01-16 07:10:42 +0000 |
commit | 6eb1d2d04c31c641a6bb83864c1075057f5fc46e (patch) | |
tree | 090b7f948defda7c270e64e880744cb91637b8e0 /secure | |
parent | 0f07b281f60c2684440eeec748ea7677c450ff16 (diff) | |
download | FreeBSD-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 'secure')
-rw-r--r-- | secure/lib/libssh/Makefile | 2 | ||||
-rw-r--r-- | secure/usr.bin/ssh/Makefile | 2 | ||||
-rw-r--r-- | secure/usr.sbin/sshd/Makefile | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/secure/lib/libssh/Makefile b/secure/lib/libssh/Makefile index a352cbc..915e17c 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 diff --git a/secure/usr.bin/ssh/Makefile b/secure/usr.bin/ssh/Makefile index 8d82148..5d6e477 100644 --- a/secure/usr.bin/ssh/Makefile +++ b/secure/usr.bin/ssh/Makefile @@ -23,7 +23,7 @@ LIBADD= ssh CFLAGS+= -DHAVE_LDNS=1 .endif -.if ${MK_KERBEROS_SUPPORT} != "no" +.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no" CFLAGS+= -include krb5_config.h SRCS+= krb5_config.h LIBADD+= gssapi diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile index af76099..a3c6454 100644 --- a/secure/usr.sbin/sshd/Makefile +++ b/secure/usr.sbin/sshd/Makefile @@ -47,7 +47,7 @@ LIBADD+= blacklist LDFLAGS+=-L${LIBBLACKLISTDIR} .endif -.if ${MK_KERBEROS_SUPPORT} != "no" +.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no" CFLAGS+= -include krb5_config.h SRCS+= krb5_config.h LIBADD+= gssapi_krb5 gssapi krb5 |