summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2016-03-24 08:25:05 +0000
committerbapt <bapt@FreeBSD.org>2016-03-24 08:25:05 +0000
commit7f509af439e891137ff6c88218ee2c0a4e568bb8 (patch)
tree7c54b72293cd0a778d184ec102283e0880fa7a3c /libexec
parentc3d5404bbe9b51c8373832a220b2568fc8b806fe (diff)
downloadFreeBSD-src-7f509af439e891137ff6c88218ee2c0a4e568bb8.zip
FreeBSD-src-7f509af439e891137ff6c88218ee2c0a4e568bb8.tar.gz
Install a usable mailer.conf for dragonfly mailer agent if sendmail is disabled
Diffstat (limited to 'libexec')
-rw-r--r--libexec/dma/dmagent/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/libexec/dma/dmagent/Makefile b/libexec/dma/dmagent/Makefile
index 6f7e8b0..1875177 100644
--- a/libexec/dma/dmagent/Makefile
+++ b/libexec/dma/dmagent/Makefile
@@ -1,5 +1,7 @@
# $FreeBSD$
+.include <src.opts.mk>
+
LIBADD= ssl crypto
PROG= dma
@@ -22,6 +24,11 @@ YFLAGS+= -i
CLEANFILES= aliases_parse.i
FILES= mailer.conf
FILESDIR= ${SHAREDIR}/examples/dma
+.if ${MK_SENDMAIL} == no
+CONFGROUPS= CONFS MAILER
+MAILERDIR= /etc/mail
+MAILER= mailer.conf
+.endif
BINMODE= 2555
OpenPOWER on IntegriCloud