aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-06-01 04:51:48 +0800
committerdinoex <dinoex@FreeBSD.org>2002-06-01 04:51:48 +0800
commitbd0c33d94bd969f3f27232ffad927d099288315b (patch)
tree5c696ef47eb3b08b2775f8da3695a2017d82662e /mail
parent5470bfc1e767870d1ced3e3977063109436376a5 (diff)
downloadfreebsd-ports-gnome-bd0c33d94bd969f3f27232ffad927d099288315b.tar.gz
freebsd-ports-gnome-bd0c33d94bd969f3f27232ffad927d099288315b.tar.zst
freebsd-ports-gnome-bd0c33d94bd969f3f27232ffad927d099288315b.zip
- get rid of duplicate code in Makefiles.
- Fix USE_OPENSSL_PORT and USE_OPENSSL_BASE - drop obsolete/broken USE_OPENSSL
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail-old/Makefile5
-rw-r--r--mail/sendmail/Makefile5
-rw-r--r--mail/sendmail811/Makefile5
-rw-r--r--mail/sendmail812/Makefile5
4 files changed, 16 insertions, 4 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
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 1dbe583978d1..68c930b64d97 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -44,7 +44,6 @@ PKGNAMESUFFIX?= -sasl
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
-USE_OPENSSL= yes
.endif
# Build site.config.m4
@@ -194,6 +193,10 @@ submit.cf:
.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
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index d4164fcd73f8..f5a08e29a3fa 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/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
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 1dbe583978d1..68c930b64d97 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -44,7 +44,6 @@ PKGNAMESUFFIX?= -sasl
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
-USE_OPENSSL= yes
.endif
# Build site.config.m4
@@ -194,6 +193,10 @@ submit.cf:
.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