diff --git a/usr.sbin/pkg_install/Makefile b/usr.sbin/pkg_install/Makefile index 286e20a916cc..4fcb9b7cf0f4 100644 --- a/usr.sbin/pkg_install/Makefile +++ b/usr.sbin/pkg_install/Makefile @@ -2,7 +2,7 @@ SUBDIR= lib add create delete info update version -.if exists(../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) +.if exists(${.CURDIR}/../../crypto) && !defined(NOCRYPT) && !defined(NO_OPENSSL) DISTRIBUTION= crypto SUBDIR+= sign .endif