aboutsummaryrefslogtreecommitdiff
path: root/eBones/libexec
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1995-07-24 22:55:59 +0000
commit9ed77b336f2238a643f3e9781059ef6ebba85c7e (patch)
tree4358b272f75a2eec625b8487651b9e60974626e9 /eBones/libexec
parent3fbfb0f2813be9774f6c1a721ced07efc6e129cf (diff)
Notes
Diffstat (limited to 'eBones/libexec')
-rw-r--r--eBones/libexec/telnetd/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile
index 3b341adfdb16..4fc60427cec8 100644
--- a/eBones/libexec/telnetd/Makefile
+++ b/eBones/libexec/telnetd/Makefile
@@ -18,14 +18,19 @@ MAN8= telnetd.8
#ifdef ENCRYPTION
CFLAGS+=-DAUTHENTICATION -DENCRYPTION
-LDADD+= -ldescrypt
.ifdef MAKE_KERBEROS
.if exists(/usr/lib/libkrb.a)
-LDADD+= -lkrb -ldes
+LDADD+= -ldes -lkrb
+.endif
.endif
+
+.if exists(/usr/lib/libkrb5.a)
+LDADD+= -ldes -lkrb5
.endif
+LDADD+= -ldescrypt
+
#endif /* ENCRYPTION */
# These are the sources that have encryption stuff in them.