diff --git a/lib/Makefile b/lib/Makefile index 52d0e440bf40..692d431c0c17 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -57,7 +57,8 @@ _libm= msun _libio= libio .endif -.if defined(RELEASEDIR) || !exists(${.CURDIR}/../kerberosIV) || \ +.if defined(RELEASEDIR) || \ + (!exists(${.CURDIR}/../secure) && !exists(${.CURDIR}/../kerberosIV)) || \ defined(NOCRYPT) || !defined(MAKE_KERBEROS4) _libtelnet= libtelnet .endif