Author: bapt
Date: Thu Mar 24 08:25:05 2016
New Revision: 297226
URL: https://svnweb.freebsd.org/changeset/base/297226

Log:
  Install a usable mailer.conf for dragonfly mailer agent if sendmail is 
disabled

Modified:
  head/libexec/dma/dmagent/Makefile

Modified: head/libexec/dma/dmagent/Makefile
==============================================================================
--- head/libexec/dma/dmagent/Makefile   Thu Mar 24 07:54:56 2016        
(r297225)
+++ head/libexec/dma/dmagent/Makefile   Thu Mar 24 08:25:05 2016        
(r297226)
@@ -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
 
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to