8b081eaa55
There has been some fallout from the change. The change itself was not valueable enough to spend time investigating the corner cases, let's just back it out. Reported by: flo
37 lines
808 B
Makefile
37 lines
808 B
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
.if ${MK_MAILWRAPPER} != "no"
|
|
PROG= mailwrapper
|
|
MAN= mailwrapper.8
|
|
|
|
LIBADD= util
|
|
.endif
|
|
|
|
.if ${MK_MAILWRAPPER} != "no" || ${MK_SENDMAIL} != "no"
|
|
SYMLINKS= ../sbin/mailwrapper /usr/bin/mailq \
|
|
../sbin/mailwrapper /usr/bin/newaliases \
|
|
mailwrapper /usr/sbin/hoststat \
|
|
mailwrapper /usr/sbin/purgestat \
|
|
mailwrapper /usr/sbin/sendmail
|
|
|
|
.if ${MK_MAILWRAPPER} == "no" && ${MK_SENDMAIL} != "no"
|
|
SYMLINKS+= ../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= ${SRCTOP}/etc/mail/mailer.conf
|
|
FILESDIR= /etc/mail
|
|
FILESMODE= 644
|
|
.endif
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|