aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-09-24 17:25:30 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-09-24 17:25:30 +0000
commit1f40172f719b158816bc28bdc68f85ebeb6393cb (patch)
tree577b375517ca2657b9052cbc1a6cfde94c8a4045 /mail
parent91262307102f496023c56d2e92c668274a25f74e (diff)
downloadports-1f40172f719b158816bc28bdc68f85ebeb6393cb.tar.gz
ports-1f40172f719b158816bc28bdc68f85ebeb6393cb.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/sendmail-old/Makefile13
-rw-r--r--mail/sendmail/Makefile13
-rw-r--r--mail/sendmail811/Makefile13
-rw-r--r--mail/sendmail812/Makefile13
4 files changed, 52 insertions, 0 deletions
diff --git a/mail/sendmail-old/Makefile b/mail/sendmail-old/Makefile
index 98c5f7584c6a..0d54f49ee7ff 100644
--- a/mail/sendmail-old/Makefile
+++ b/mail/sendmail-old/Makefile
@@ -186,4 +186,17 @@ SITE+= ${FILESDIR}/site.config.m4.tls
SITE+= ${FILESDIR}/site.config.m4.local
.endif
+.if exists(${DESTDIR}/etc/mail/mailer.conf) && ${PREFIX} == "/usr"
+pre-everything:
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# You can't override the base sendmail this way."
+ @${ECHO_CMD} "# your version FreeBSD use mailwrapper."
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# Please install with normal PREFIX"
+ @${ECHO_CMD} "# and activate the port version with"
+ @${ECHO_CMD} "# cd /usr/ports/mail/sendmail && make mailer.conf"
+ @${ECHO_CMD} "#"
+ @${FALSE}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/mail/sendmail/Makefile b/mail/sendmail/Makefile
index c369b5268d3d..b64224286c8a 100644
--- a/mail/sendmail/Makefile
+++ b/mail/sendmail/Makefile
@@ -273,4 +273,17 @@ SITE+= ${FILESDIR}/site.config.m4.smtps
SITE+= ${FILESDIR}/site.config.m4.local
.endif
+.if exists(${DESTDIR}/etc/mail/mailer.conf) && ${PREFIX} == "/usr"
+pre-everything:
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# You can't override the base sendmail this way."
+ @${ECHO_CMD} "# your version FreeBSD use mailwrapper."
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# Please install with normal PREFIX"
+ @${ECHO_CMD} "# and activate the port version with"
+ @${ECHO_CMD} "# cd /usr/ports/mail/sendmail && make mailer.conf"
+ @${ECHO_CMD} "#"
+ @${FALSE}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/mail/sendmail811/Makefile b/mail/sendmail811/Makefile
index 98c5f7584c6a..0d54f49ee7ff 100644
--- a/mail/sendmail811/Makefile
+++ b/mail/sendmail811/Makefile
@@ -186,4 +186,17 @@ SITE+= ${FILESDIR}/site.config.m4.tls
SITE+= ${FILESDIR}/site.config.m4.local
.endif
+.if exists(${DESTDIR}/etc/mail/mailer.conf) && ${PREFIX} == "/usr"
+pre-everything:
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# You can't override the base sendmail this way."
+ @${ECHO_CMD} "# your version FreeBSD use mailwrapper."
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# Please install with normal PREFIX"
+ @${ECHO_CMD} "# and activate the port version with"
+ @${ECHO_CMD} "# cd /usr/ports/mail/sendmail && make mailer.conf"
+ @${ECHO_CMD} "#"
+ @${FALSE}
+.endif
+
.include <bsd.port.post.mk>
diff --git a/mail/sendmail812/Makefile b/mail/sendmail812/Makefile
index c369b5268d3d..b64224286c8a 100644
--- a/mail/sendmail812/Makefile
+++ b/mail/sendmail812/Makefile
@@ -273,4 +273,17 @@ SITE+= ${FILESDIR}/site.config.m4.smtps
SITE+= ${FILESDIR}/site.config.m4.local
.endif
+.if exists(${DESTDIR}/etc/mail/mailer.conf) && ${PREFIX} == "/usr"
+pre-everything:
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# You can't override the base sendmail this way."
+ @${ECHO_CMD} "# your version FreeBSD use mailwrapper."
+ @${ECHO_CMD} "#"
+ @${ECHO_CMD} "# Please install with normal PREFIX"
+ @${ECHO_CMD} "# and activate the port version with"
+ @${ECHO_CMD} "# cd /usr/ports/mail/sendmail && make mailer.conf"
+ @${ECHO_CMD} "#"
+ @${FALSE}
+.endif
+
.include <bsd.port.post.mk>