aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail-ldap/Makefile5
-rw-r--r--mail/sendmail-sasl/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/mail/sendmail-ldap/Makefile b/mail/sendmail-ldap/Makefile
index ab616665eea1..2341845e8072 100644
--- a/mail/sendmail-ldap/Makefile
+++ b/mail/sendmail-ldap/Makefile
@@ -15,11 +15,12 @@ SENDMAIL_WITH_TLS= yes
SENDMAIL_WITH_SASL= yes
SENDMAIL_WITH_SFIO= yes
SENDMAIL_WITH_MILTER= yes
-MASTERDIR?= ${.CURDIR}/../sendmail-old
+SENDMAIL_PORT?= sendmail-old
.else
SENDMAIL_WITH_SASL2= yes
-MASTERDIR?= ${.CURDIR}/../sendmail
+SENDMAIL_PORT?= sendmail
.endif
+MASTERDIR?= ${.CURDIR}/../${SENDMAIL_PORT}
.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"
diff --git a/mail/sendmail-sasl/Makefile b/mail/sendmail-sasl/Makefile
index 445ce1bc029a..568759f042ca 100644
--- a/mail/sendmail-sasl/Makefile
+++ b/mail/sendmail-sasl/Makefile
@@ -14,11 +14,12 @@ SENDMAIL_WITH_TLS= yes
SENDMAIL_WITH_SASL= yes
SENDMAIL_WITH_SFIO= yes
SENDMAIL_WITH_MILTER= yes
-MASTERDIR?= ${.CURDIR}/../sendmail-old
+SENDMAIL_PORT?= sendmail-old
.else
SENDMAIL_WITH_SASL2= yes
-MASTERDIR?= ${.CURDIR}/../sendmail
+SENDMAIL_PORT?= sendmail
.endif
+MASTERDIR?= ${.CURDIR}/../${SENDMAIL_PORT}
.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"