aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/sendmail/Makefile2
-rw-r--r--mail/sendmail812/Makefile2
2 files changed, 4 insertions, 0 deletions
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index afa581e2f150..f19828ddc180 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -96,7 +96,9 @@ CONFLICTS+= sendmail+tls-8.* \
sendmail+ldap-8.*
CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-tls-8.*
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+.if !defined(SENDMAIL_WITHOUT_SASLAUTHD)
RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
+.endif
.else
CONFLICTS+= sendmail*+sasl2*-8.*
.endif
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index a9b5f408f59e..3e7a5a013070 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -103,7 +103,9 @@ CONFLICTS+= sendmail+tls-8.* \
sendmail+ldap-8.*
CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-tls-8.*
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
+.if !defined(SENDMAIL_WITHOUT_SASLAUTHD)
RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
+.endif
.else
CONFLICTS+= sendmail*+sasl2*-8.*
.endif