summaryrefslogtreecommitdiffstats
path: root/mail/sendmail811/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail811/Makefile')
-rw-r--r--mail/sendmail811/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 9b40660..88523cd 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -72,6 +72,9 @@ SITE+= ${FILESDIR}/site.config.m4.ldap
.if ! defined(SENDMAIL_WITHOUT_MILTER)
SITE+= ${FILESDIR}/site.config.m4.milter
.endif
+.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
+USE_OPENSSL= yes
+.endif
# install directly if no mailwrapper support
.if ! exists(${DESTDIR}/etc/mail/mailer.conf)
@@ -172,7 +175,6 @@ mailer.conf:
.include <bsd.port.pre.mk>
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
-.include "${PORTSDIR}/security/openssl/bsd.openssl.mk"
.if ! defined(WITH_OPENSSL_BASE)
SITE+= ${FILESDIR}/site.config.m4.ssl
.endif
OpenPOWER on IntegriCloud