aboutsummaryrefslogtreecommitdiff
path: root/mail/sendmail-old/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail-old/Makefile')
-rw-r--r--mail/sendmail-old/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index d4164fcd73f8..f5a08e29a3fa 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -46,7 +46,6 @@ PKGNAMESUFFIX?= -sasl
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
-USE_OPENSSL= yes
.endif
.if defined(SENDMAIL_WITH_SFIO)
PKGNAMESUFFIX?= -sfio
@@ -171,6 +170,10 @@ mailer.conf:
.include <bsd.port.pre.mk>
+.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
+.include <${PORTSDIR}/security/openssl/Makefile.ssl>
+.endif
+
.if exists(${FILESDIR}/site.config.m4.local)
SITE+= ${FILESDIR}/site.config.m4.local
.endif