diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/sendmail-old/Makefile | 13 | ||||
-rw-r--r-- | mail/sendmail/Makefile | 13 | ||||
-rw-r--r-- | mail/sendmail811/Makefile | 13 | ||||
-rw-r--r-- | mail/sendmail812/Makefile | 13 |
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> |