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.
This commit is contained in:
Mark Murray 2010-10-12 21:01:26 +00:00
parent 56b11f84a7
commit 4f6fbcd5db

View File

@ -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