diff --git a/secure/usr.sbin/Makefile b/secure/usr.sbin/Makefile index b8636e5c4333..c43461057f60 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