svn commit: r297226 - head/libexec/dma/dmagent

Baptiste Daroussin bapt at FreeBSD.org
Thu Mar 24 08:25:06 UTC 2016


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
 


More information about the svn-src-head mailing list