diff --git a/secure/usr.sbin/sendmail/Makefile b/secure/usr.sbin/sendmail/Makefile index 539e512b9a00..b2dfcdc759ff 100644 --- a/secure/usr.sbin/sendmail/Makefile +++ b/secure/usr.sbin/sendmail/Makefile @@ -44,7 +44,7 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a DPADD+= ${LIBSMUTIL} LDADD+= ${LIBSMUTIL} -.if !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) # STARTTLS support CFLAGS+=-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK LDADD+= -lssl -lcrypto diff --git a/usr.sbin/sendmail/Makefile b/usr.sbin/sendmail/Makefile index 539e512b9a00..b2dfcdc759ff 100644 --- a/usr.sbin/sendmail/Makefile +++ b/usr.sbin/sendmail/Makefile @@ -44,7 +44,7 @@ LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a DPADD+= ${LIBSMUTIL} LDADD+= ${LIBSMUTIL} -.if !defined(NO_OPENSSL) +.if !defined(NOCRYPT) && !defined(NO_OPENSSL) # STARTTLS support CFLAGS+=-DSTARTTLS -D_FFR_TLS_O_T -D_FFR_TLS_1 -D_FFR_TLS_TOREK LDADD+= -lssl -lcrypto