aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sendmail-sasl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'mail/sendmail-sasl/Makefile')
-rw-r--r--mail/sendmail-sasl/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/sendmail-sasl/Makefile b/mail/sendmail-sasl/Makefile
index 7acdc1a55d57..a7b8972758b0 100644
--- a/mail/sendmail-sasl/Makefile
+++ b/mail/sendmail-sasl/Makefile
@@ -4,12 +4,18 @@
#
# $FreeBSD$
-SENDMAIL_WITH_SASL= yes
SENDMAIL_WITH_TLS= yes
+.if defined(SENDMAIL_WITH_SUID)
+# only for compatibility with sendmail 8.11.x
+SENDMAIL_WITH_SASL= yes
SENDMAIL_WITH_SFIO= yes
SENDMAIL_WITH_MILTER= yes
-PKGNAMESUFFIX?= -sasl
+MASTERDIR?= ${.CURDIR}/../sendmail-old
+.else
+SENDMAIL_WITH_SASL2= yes
MASTERDIR?= ${.CURDIR}/../sendmail
+.endif
+PKGNAMESUFFIX?= -sasl
.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"