summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail/dma/Makefile3
-rw-r--r--mail/dma/files/pkg-message.in15
2 files changed, 16 insertions, 2 deletions
diff --git a/mail/dma/Makefile b/mail/dma/Makefile
index 499a7e63cc20..7b9c303719c1 100644
--- a/mail/dma/Makefile
+++ b/mail/dma/Makefile
@@ -4,6 +4,7 @@
PORTNAME= dma
PORTVERSION= 0.13
DISTVERSIONPREFIX= v
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= mail
@@ -25,7 +26,7 @@ CFLAGS+= -I${OPENSSLINC} \
-DDMA_GROUP='\"mail\"'
LDFLAGS+= -L${OPENSSLLIB}
-MAKE_ENV= __MAKE_CONF=/dev/null SRCCONF=/dev/null NO_WERROR=defined \
+MAKE_ENV= __MAKE_CONF=/dev/null SRCCONF=/dev/null MK_WERROR=no \
MANDIR=${PREFIX}/share/man/man
USE_RC_SUBR= dma_flushq
diff --git a/mail/dma/files/pkg-message.in b/mail/dma/files/pkg-message.in
index 14f76ad7f6bb..fcc59f37b315 100644
--- a/mail/dma/files/pkg-message.in
+++ b/mail/dma/files/pkg-message.in
@@ -1,6 +1,15 @@
[
{ type: install
message: <<EOM
+
+Please note that dma is now also available in FreeBSD's base, currently under
+/usr/libexec/dma, and with config files in /etc/mail/dma.
+
+These may not track the same version of dma. Users are encouraged to check
+releases notes to see which best suits their needs.
+
+===
+
To enable dma please edit /etc/mail/mailer.conf to replace all lines
referring to another MTA with the following:
@@ -8,7 +17,11 @@ sendmail %%PREFIX%%/libexec/dma
send-mail %%PREFIX%%/libexec/dma
mailq %%PREFIX%%/libexec/dma
-If you not need sendmail anymore, please add in your rc.conf:
+If you do not need sendmail anymore, please add in your rc.conf:
+
+sendmail_enable="NONE"
+
+or, for more granular control:
sendmail_enable="NO"
sendmail_submit_enable="NO"