diff options
Diffstat (limited to 'crypto/openssh/sshd/Makefile')
-rw-r--r-- | crypto/openssh/sshd/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/crypto/openssh/sshd/Makefile b/crypto/openssh/sshd/Makefile index f74a032..0adfcd6 100644 --- a/crypto/openssh/sshd/Makefile +++ b/crypto/openssh/sshd/Makefile @@ -5,15 +5,16 @@ BINOWN= root BINMODE=555 BINDIR= /usr/sbin MAN= sshd.8 +CFLAGS+=-DHAVE_LOGIN_CAP SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \ pty.c log-server.c login.c servconf.c serverloop.c \ - auth.c auth1.c auth2.c session.c + auth.c auth1.c auth2.c auth-options.c session.c .include <bsd.own.mk> # for KERBEROS and AFS -.if (${KERBEROS} == "yes") -.if (${AFS} == "yes") +.if (${KERBEROS:L} == "yes") +.if (${AFS:L} == "yes") CFLAGS+= -DAFS LDADD+= -lkafs DPADD+= ${LIBKRBAFS} @@ -24,7 +25,7 @@ LDADD+= -lkrb DPADD+= ${LIBKRB} .endif # KERBEROS -.if (${SKEY} == "yes") +.if (${SKEY:L} == "yes") SRCS+= auth-skey.c .endif @@ -33,13 +34,13 @@ SRCS+= auth-skey.c LDADD+= -lcrypto -lutil -lz DPADD+= ${LIBCRYPTO} ${LIBUTIL} ${LIBZ} -.if (${TCP_WRAPPERS} == "yes") +.if (${TCP_WRAPPERS:L} == "yes") CFLAGS+= -DLIBWRAP LDADD+= -lwrap DPADD+= ${LIBWRAP} .endif -.if (${SKEY} == "yes") +.if (${SKEY:L} == "yes") CFLAGS+= -DSKEY LDADD+= -lskey DPADD+= ${SKEY} |