diff --git a/Makefile.inc1 b/Makefile.inc1 index f68c2a9b14a8..cd10435188cd 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -474,10 +474,14 @@ includes: cd ${.CURDIR}/gnu/lib/libgmp; ${MAKE} beforeinstall cd ${.CURDIR}/gnu/usr.bin/cc/cc1plus; ${MAKE} beforeinstall .if exists(${.CURDIR}/secure) && !defined(NOCRYPT) +.if exists(${.CURDIR}/secure/lib/libcrypto) cd ${.CURDIR}/secure/lib/libcrypto; ${MAKE} beforeinstall +.endif cd ${.CURDIR}/secure/lib/libdes; ${MAKE} beforeinstall +.if exists(${.CURDIR}/secure/lib/libssl) cd ${.CURDIR}/secure/lib/libssl; ${MAKE} beforeinstall .endif +.endif .if exists(${.CURDIR}/kerberosIV) && !defined(NOCRYPT) && \ defined(MAKE_KERBEROS4) cd ${.CURDIR}/kerberosIV/lib/libacl; ${MAKE} beforeinstall