diff --git a/libexec/Makefile b/libexec/Makefile index 61f76e3da986..aa3f26f0f252 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -38,10 +38,10 @@ SUBDIR+=named-xfer SUBDIR+=mail.local smrsh .endif - .if defined(RELEASEDIR) || \ - (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \ - defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4)) + (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ + defined(NOCRYPT) || \ + (defined(NOSECURE) && !defined(MAKE_KERBEROS5)) # make release needs both SUBDIR+=telnetd .endif diff --git a/usr.bin/Makefile b/usr.bin/Makefile index ea43e5505663..a4d76321282e 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -217,9 +217,10 @@ SUBDIR= alias \ ypwhich .if defined(RELEASEDIR) || \ - (!exists(${.CURDIR}/../kerberosIV) && !exists(${.CURDIR}/../secure)) || \ - defined(NOCRYPT) || (defined(NOSECURE) && !defined(MAKE_KERBEROS4)) -# Releases need both this non-crypt telnet and the crypt telnet. + (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberos5)) || \ + defined(NOCRYPT) || \ + (defined(NOSECURE) && !defined(MAKE_KERBEROS5)) +# make release needs both SUBDIR+=telnet .endif