summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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