aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail-ldap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail-ldap/Makefile')
-rw-r--r--mail/sendmail-ldap/Makefile5
1 files changed, 3 insertions, 2 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"