diff --git a/secure/usr.sbin/Makefile b/secure/usr.sbin/Makefile index b8636e5c433..c43461057f6 100644 --- a/secure/usr.sbin/Makefile +++ b/secure/usr.sbin/Makefile @@ -5,4 +5,8 @@ SUBDIR= SUBDIR+=sshd .endif +.if !defined(NO_SENDMAIL) && !defined(NO_OPENSSL) +SUBDIR+=sendmail +.endif + .include