aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2002-11-03 05:51:19 +0800
committerdinoex <dinoex@FreeBSD.org>2002-11-03 05:51:19 +0800
commit78337eb5e57a6781e59fae26c1b4101330165deb (patch)
treeb6089e94d3311b10d71a83278ecb6be5d8a03aea /mail
parentc667cf9391ab8ba58392d4d612351881058ef9d1 (diff)
downloadfreebsd-ports-gnome-78337eb5e57a6781e59fae26c1b4101330165deb.tar.gz
freebsd-ports-gnome-78337eb5e57a6781e59fae26c1b4101330165deb.tar.zst
freebsd-ports-gnome-78337eb5e57a6781e59fae26c1b4101330165deb.zip
Support old and new sendmail
update to use SASL2
Diffstat (limited to 'mail')
-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"