summaryrefslogtreecommitdiffstats
path: root/secure
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1995-07-24 20:40:03 +0000
committerache <ache@FreeBSD.org>1995-07-24 20:40:03 +0000
commit0551b03e780b474a59f45dda1c1dcd1ce2f2c4e5 (patch)
treecd1ca0d6834c979512deb446d73892bfbc14b41e /secure
parentd5bb9e78cb0fe5022172c2bdca4e34145759d914 (diff)
downloadFreeBSD-src-0551b03e780b474a59f45dda1c1dcd1ce2f2c4e5.zip
FreeBSD-src-0551b03e780b474a59f45dda1c1dcd1ce2f2c4e5.tar.gz
Fix dependances, typing errors, etc.
Note: this thing need original libdes not Eric Young libdes from eBones Submitted by: Obtained from:
Diffstat (limited to 'secure')
-rw-r--r--secure/usr.bin/telnet/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/secure/usr.bin/telnet/Makefile b/secure/usr.bin/telnet/Makefile
index 1f4b288..77280e0 100644
--- a/secure/usr.bin/telnet/Makefile
+++ b/secure/usr.bin/telnet/Makefile
@@ -38,6 +38,7 @@ PROG= telnet
CFLAGS+=-DTERMCAP -DKLUDGELINEMODE -DUSE_TERMIO
CFLAGS+=-DENV_HACK
CFLAGS+=-I${.CURDIR}/../../lib
+LDADD+= -ltermcap -ltelnet
#ifdef ENCRYPTION
@@ -45,17 +46,18 @@ CFLAGS+=-DAUTHENTICATION -DENCRYPTION
.if exists(/usr/lib/libkrb.a)
CFLAGS+= -DKRB4
-LDADD+= -lkrb -ldes
+LDADD+= -lkrb
.endif
-.if exists(/usr/lib/libkrb4.a)
+.if exists(/usr/lib/libkrb5.a)
CFLAGS+= -DKRB5 -DFORWARD
-LDADD+= -lkrb5 -ldes
+LDADD+= -lkrb5
.endif
+LDADD+= -ldes
+
#endif /* ENCRYPTION */
-LDADD= -ltermcap -ltelnet
DPADD= ${LIBTERMCAP}
SRCS= authenc.c commands.c main.c network.c ring.c sys_bsd.c telnet.c \
OpenPOWER on IntegriCloud