aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail-old/Makefile7
-rw-r--r--mail/sendmail/Makefile7
-rw-r--r--mail/sendmail811/Makefile7
-rw-r--r--mail/sendmail812/Makefile7
4 files changed, 26 insertions, 2 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index 0d54f49ee7ff..60b4b75851b3 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -16,6 +16,8 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Reliable, highly configurable mail transfer agent with utilities
+CONFLICTS?= courier-0.* postfix-1.* postfix-2.* sendmail-8.12.* sendmail-*-8.12.* \
+ smail-3.* zmailer-2.*
NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WCONF= ${WRKSRC}/devtools/Site
@@ -39,15 +41,18 @@ LDAP_PORT?= net/openldap20-client
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
+CONFLICTS+= sendmail-sasl-8.* sendmail-tls-8.*
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
PKGNAMESUFFIX?= -sasl
+CONFLICTS+= sendmail-ldap-8.* sendmail-tls-8.*
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
+CONFLICTS+= sendmail-sasl-8.* sendmail-ldap-8.*
.endif
.if defined(SENDMAIL_WITH_SFIO)
PKGNAMESUFFIX?= -sfio
@@ -187,7 +192,7 @@ SITE+= ${FILESDIR}/site.config.m4.local
.endif
.if exists(${DESTDIR}/etc/mail/mailer.conf) && ${PREFIX} == "/usr"
-pre-everything:
+pre-everything::
@${ECHO_CMD} "#"
@${ECHO_CMD} "# You can't override the base sendmail this way."
@${ECHO_CMD} "# your version FreeBSD use mailwrapper."
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index 7ff7cd764bdc..753e191b43f7 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -15,6 +15,9 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Reliable, highly configurable mail transfer agent with utilities
+CONFLICTS?= courier-0.* postfix-1.* postfix-2.* sendmail-8.11.* sendmail-*-8.11.* \
+ smail-3.* zmailer-2.*
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WCONF= ${WRKSRC}/devtools/Site
SITE= ${FILESDIR}/site.config.m4.pre4
@@ -52,20 +55,24 @@ SENDMAIL_WITH_TLS=yes
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
+CONFLICTS+= sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.*
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
PKGNAMESUFFIX?= -sasl
+CONFLICTS+= sendmail-ldap-8.* sendmail-sasl2-8.* sendmail-tls-8.*
.endif
.if defined(SENDMAIL_WITH_SASL2)
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
PKGNAMESUFFIX?= -sasl2
+CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-tls-8.*
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
+CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-sasl2-8.*
.endif
# Build site.config.m4
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 0d54f49ee7ff..60b4b75851b3 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -16,6 +16,8 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Reliable, highly configurable mail transfer agent with utilities
+CONFLICTS?= courier-0.* postfix-1.* postfix-2.* sendmail-8.12.* sendmail-*-8.12.* \
+ smail-3.* zmailer-2.*
NO_LATEST_LINK= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WCONF= ${WRKSRC}/devtools/Site
@@ -39,15 +41,18 @@ LDAP_PORT?= net/openldap20-client
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
+CONFLICTS+= sendmail-sasl-8.* sendmail-tls-8.*
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
PKGNAMESUFFIX?= -sasl
+CONFLICTS+= sendmail-ldap-8.* sendmail-tls-8.*
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
+CONFLICTS+= sendmail-sasl-8.* sendmail-ldap-8.*
.endif
.if defined(SENDMAIL_WITH_SFIO)
PKGNAMESUFFIX?= -sfio
@@ -187,7 +192,7 @@ SITE+= ${FILESDIR}/site.config.m4.local
.endif
.if exists(${DESTDIR}/etc/mail/mailer.conf) && ${PREFIX} == "/usr"
-pre-everything:
+pre-everything::
@${ECHO_CMD} "#"
@${ECHO_CMD} "# You can't override the base sendmail this way."
@${ECHO_CMD} "# your version FreeBSD use mailwrapper."
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index 7ff7cd764bdc..753e191b43f7 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -15,6 +15,9 @@ DISTNAME= ${PORTNAME}.${PORTVERSION}
MAINTAINER= dinoex@FreeBSD.org
COMMENT= Reliable, highly configurable mail transfer agent with utilities
+CONFLICTS?= courier-0.* postfix-1.* postfix-2.* sendmail-8.11.* sendmail-*-8.11.* \
+ smail-3.* zmailer-2.*
+
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WCONF= ${WRKSRC}/devtools/Site
SITE= ${FILESDIR}/site.config.m4.pre4
@@ -52,20 +55,24 @@ SENDMAIL_WITH_TLS=yes
.if defined(SENDMAIL_WITH_LDAP)
PKGNAMESUFFIX?= -ldap
+CONFLICTS+= sendmail-sasl-8.* sendmail-sasl2-8.* sendmail-tls-8.*
LIB_DEPENDS+= ldap.2:${PORTSDIR}/${LDAP_PORT}
LIB_DEPENDS+= lber.2:${PORTSDIR}/${LDAP_PORT}
.endif
.if defined(SENDMAIL_WITH_SASL)
LIB_DEPENDS+= sasl.8:${PORTSDIR}/security/cyrus-sasl
PKGNAMESUFFIX?= -sasl
+CONFLICTS+= sendmail-ldap-8.* sendmail-sasl2-8.* sendmail-tls-8.*
.endif
.if defined(SENDMAIL_WITH_SASL2)
LIB_DEPENDS+= sasl2.2:${PORTSDIR}/security/cyrus-sasl2
RUN_DEPENDS+= ${LOCALBASE}/sbin/saslauthd:${PORTSDIR}/security/cyrus-sasl2-saslauthd
PKGNAMESUFFIX?= -sasl2
+CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-tls-8.*
.endif
.if defined(SENDMAIL_WITH_TLS) || defined(WITH_TLS)
PKGNAMESUFFIX?= -tls
+CONFLICTS+= sendmail-ldap-8.* sendmail-sasl-8.* sendmail-sasl2-8.*
.endif
# Build site.config.m4