summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mailwrapper/Makefile
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2010-10-12 21:01:26 +0000
committermarkm <markm@FreeBSD.org>2010-10-12 21:01:26 +0000
commit910485b93adc9bef14a86316486f8b98591f0597 (patch)
treeeada4950898cb7648a52810cab0dec923f39dc95 /usr.sbin/mailwrapper/Makefile
parent94b2db5cb7fd25356291f13da5fd2f5236502f1b (diff)
downloadFreeBSD-src-910485b93adc9bef14a86316486f8b98591f0597.zip
FreeBSD-src-910485b93adc9bef14a86316486f8b98591f0597.tar.gz
Create the /bin/rmail symlink (which mailers such as postfix
and Exim can use). This is something I thought I committed MONTHS ago, but it appears that I fatfingered it and made a local commit. Pass the pointy hat, please.
Diffstat (limited to 'usr.sbin/mailwrapper/Makefile')
-rw-r--r--usr.sbin/mailwrapper/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/mailwrapper/Makefile b/usr.sbin/mailwrapper/Makefile
index 3f305f7..8811f6f 100644
--- a/usr.sbin/mailwrapper/Makefile
+++ b/usr.sbin/mailwrapper/Makefile
@@ -22,6 +22,10 @@ SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
.endif
.endif
+.if ${MK_MAILWRAPPER} != "no" && ${MK_SENDMAIL} == "no"
+SYMLINKS+= ${BINDIR}/mailwrapper /bin/rmail
+.endif
+
.if ${MK_MAILWRAPPER} != "no"
.if !exists(${DESTDIR}/etc/mail/mailer.conf)
FILES= ${.CURDIR}/../../etc/mail/mailer.conf
OpenPOWER on IntegriCloud