summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--usr.bin/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 4b49635..c10ef94 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -199,8 +199,9 @@ SUBDIR= apply \
ypmatch \
ypwhich
-.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || \
- defined(NOCRYPT) || !defined(MAKE_KERBEROS4)
+.if defined(RELEASEDIR) || (!exists(${.CURDIR}/../kerberosIV) && \
+ !exists(${.CURDIR}/../secure)) || defined(NOCRYPT) || \
+ !defined(MAKE_KERBEROS4)
# Releases need both this non-crypt telnet and the crypt telnet.
SUBDIR+=telnet
.endif
OpenPOWER on IntegriCloud