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
This commit is contained in:
parent
86adac04b2
commit
94ef145e6b
@ -2156,7 +2156,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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user