aboutsummaryrefslogtreecommitdiff
path: root/secure/libexec/sshd-auth
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2025-08-18 16:04:06 +0000
committerEd Maste <emaste@FreeBSD.org>2025-08-26 19:13:07 +0000
commit665bf6ffb500f63b58cf971c99bb9d3f1413af9b (patch)
treec5d95df6b23e5101e8194914dd58802546c3b98d /secure/libexec/sshd-auth
parent95c8b4d74bced30f26d19f1d6fcd6310fe99486f (diff)
Diffstat (limited to 'secure/libexec/sshd-auth')
-rw-r--r--secure/libexec/sshd-auth/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/secure/libexec/sshd-auth/Makefile b/secure/libexec/sshd-auth/Makefile
index 6fc0626982db..a127b50b407a 100644
--- a/secure/libexec/sshd-auth/Makefile
+++ b/secure/libexec/sshd-auth/Makefile
@@ -38,16 +38,15 @@ LIBADD+= blacklist
LDFLAGS+=-L${LIBBLACKLISTDIR}
.endif
-.if ${MK_GSSAPI} != "no" && ${MK_KERBEROS_SUPPORT} != "no"
-LIBADD+= gssapi_krb5 gssapi krb5
+.if ${MK_KERBEROS_SUPPORT} != "no"
.if ${MK_MITKRB5} != "no"
+LIBADD+= gssapi_krb5 krb5
.include "../../krb5/Makefile.inc"
CFLAGS+= -I${KRB5_DIR}/include \
-I${KRB5_SRCTOP}/include \
- -I${KRB5_OBJTOP}/lib \
- -I${KRB5_DIR}/lib/gssapi/generic \
- -I${KRB5_DIR}/lib/gssapi/krb5 \
- -I${KRB5_DIR}/lib/gssapi/mechglue
+ -I${KRB5_OBJTOP}/lib
+.else
+LIBADD+= gssapi_krb5 gssapi krb5
.endif
.endif