aboutsummaryrefslogtreecommitdiff
path: root/eBones
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1996-03-09 13:39:00 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1996-03-09 13:39:00 +0000
commit0a2c4bde086f0715d9bd58b8ddd4cf54c4f3303a (patch)
treefe40422debe884c2df7d66cc4727b3e8ac0d76c7 /eBones
parenta0e2ca089a753aa6c926d0b8136a50bc61a2a811 (diff)
downloadsrc-0a2c4bde086f0715d9bd58b8ddd4cf54c4f3303a.tar.gz
src-0a2c4bde086f0715d9bd58b8ddd4cf54c4f3303a.zip
Sense MAKE_EBONES, DESTDIR
SRCS, DPADD cleanup
Notes
Notes: svn path=/head/; revision=14439
Diffstat (limited to 'eBones')
-rw-r--r--eBones/libexec/telnetd/Makefile16
1 files changed, 11 insertions, 5 deletions
diff --git a/eBones/libexec/telnetd/Makefile b/eBones/libexec/telnetd/Makefile
index dbce8c478662..002dc3fe6f43 100644
--- a/eBones/libexec/telnetd/Makefile
+++ b/eBones/libexec/telnetd/Makefile
@@ -17,15 +17,21 @@ CFLAGS+=-I${.CURDIR}/../../lib
#ifdef ENCRYPTION
-CFLAGS+=-DAUTHENTICATION -DENCRYPTION
+CFLAGS += -DENCRYPTION
-.if exists(/usr/lib/libkrb.a)
+.if exists(${DESTDIR}/usr/lib/libkrb.a) && (defined(MAKE_EBONES) \
+ || defined(MAKE_KERBEROS))
+CFLAGS+=-DAUTHENTICATION
LDADD+= -ldes -lkrb
+DPADD+= ${LIBDES} ${LIBKRB}
.endif
-.if exists(/usr/lib/libkrb5.a)
-LDADD+= -ldes -lkrb5
-.endif
+#.if exists(${DESTDIR}/usr/lib/libkrb5.a) && (defined(MAKE_EBONES) \
+# || defined(MAKE_KERBEROS))
+#CFLAGS+=-DAUTHENTICATION
+#LDADD+= -ldes -lkrb5
+#DPADD+= ${LIBDES}
+#.endif
# Used only in krb4encpwd.c and rsaencpwd.c (libtelnet), not yet active
#LDADD+= -ldescrypt