summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 87683303d2ad..9a302a16c40f 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -33,15 +33,10 @@ SUBDIR+= libcrypt
.endif
.endif
-.if !exists(${.CURDIR}/../eBones) || defined(NOSECURE) || !defined(MAKE_EBONES)
-SUBDIR+= libtelnet
-.else
-.if defined(RELEASEDIR)
+.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
# releases do need both libraries
SUBDIR+= libtelnet
.endif
-SUBDIR+= ../eBones/lib/libtelnet
-.endif
.if defined(WANT_CSRG_LIBM)
SUBDIR+= libm