summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2002-11-02 21:51:19 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2002-11-02 21:51:19 +0000
commit1fe48168a45b6a6b774712dc365e41bbf1f5ca89 (patch)
tree61e5430971d526df2f53d6564e3cefdea56c4c14
parentUpdate the checksum to match the "new" distfile. (diff)
Support old and new sendmail
update to use SASL2
-rw-r--r--mail/sendmail-ldap/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mail/sendmail-ldap/Makefile b/mail/sendmail-ldap/Makefile
index 2f8859093bc5..5f56853e2602 100644
--- a/mail/sendmail-ldap/Makefile
+++ b/mail/sendmail-ldap/Makefile
@@ -5,12 +5,18 @@
# $FreeBSD$
SENDMAIL_WITH_LDAP= yes
-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?= -ldap
+MASTERDIR?= ${.CURDIR}/../sendmail-old
+.else
+SENDMAIL_WITH_SASL2= yes
MASTERDIR?= ${.CURDIR}/../sendmail
+.endif
+PKGNAMESUFFIX?= -ldap
.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"