summaryrefslogtreecommitdiffstats
path: root/crypto/openssh/sshd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssh/sshd/Makefile')
-rw-r--r--crypto/openssh/sshd/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/openssh/sshd/Makefile b/crypto/openssh/sshd/Makefile
index 15d6eec..3815b5a 100644
--- a/crypto/openssh/sshd/Makefile
+++ b/crypto/openssh/sshd/Makefile
@@ -12,15 +12,15 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
.include <bsd.own.mk> # for KERBEROS and AFS
.if (${KERBEROS} == "yes")
-CFLAGS+= -DKRB4 -I/usr/include/kerberosIV
-SRCS+= auth-krb4.c
-LDADD+= -lkrb
-DPADD+= ${LIBKRB}
.if (${AFS} == "yes")
CFLAGS+= -DAFS
LDADD+= -lkafs
DPADD+= ${LIBKRBAFS}
.endif # AFS
+CFLAGS+= -DKRB4 -I${DESTDIR}/usr/include/kerberosIV
+SRCS+= auth-krb4.c
+LDADD+= -lkrb
+DPADD+= ${LIBKRB}
.endif # KERBEROS
.if (${SKEY} == "yes")
OpenPOWER on IntegriCloud