diff options
| author | Kyle Evans <kevans@FreeBSD.org> | 2020-06-02 02:38:54 +0000 |
|---|---|---|
| committer | Kyle Evans <kevans@FreeBSD.org> | 2020-06-02 02:38:54 +0000 |
| commit | cb99e93575e8f5df7345a0bdb7104ff46fdeec5c (patch) | |
| tree | 3c24cad17aeac5bfa7bc3ad4b5fa227bba46ba88 /usr.sbin/mailwrapper | |
| parent | ef1eabca5d6b0b998490d328b2e99f8f19a7569d (diff) | |
Notes
Diffstat (limited to 'usr.sbin/mailwrapper')
| -rw-r--r-- | usr.sbin/mailwrapper/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/mailwrapper/Makefile b/usr.sbin/mailwrapper/Makefile index 799d7e43fb71..65bc7f023ffa 100644 --- a/usr.sbin/mailwrapper/Makefile +++ b/usr.sbin/mailwrapper/Makefile @@ -26,7 +26,11 @@ SYMLINKS+= ..${BINDIR}/mailwrapper /bin/rmail .endif .if ${MK_MAILWRAPPER} != "no" -.if !exists(${DESTDIR}/etc/mail/mailer.conf) +# We install here if either sendmail(8) is enabled, or dma(8) isn't. In the +# latter scenario, we take care of the possibility that neither sendmail(8) nor +# dma(8) are installed and simply provide a default that can be changed for an +# alternative in ports. +.if ${MK_SENDMAIL} != "no" || ${MK_DMAGENT} == "no" FILES= ${SRCTOP}/etc/mail/mailer.conf FILESDIR= /etc/mail FILESMODE= 644 |
