Do not install SYMLINKS if both NO_MAILWRAPPER and
NO_SENDMAIL is defined. PR: 57058 Reported by: Henri Hennebert <hlh@cocoon.cercle.be> Melvyn Sopacua on current@ Submitted by: ru@ MFC after: 2 weeks
This commit is contained in:
parent
74a1b9fccf
commit
ef271e5858
@ -8,6 +8,7 @@ DPADD= ${LIBUTIL}
|
||||
LDADD= -lutil
|
||||
.endif
|
||||
|
||||
.if !defined(NO_MAILWRAPPER) || !defined(NO_SENDMAIL)
|
||||
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
||||
${BINDIR}/mailwrapper /usr/sbin/hoststat \
|
||||
${BINDIR}/mailwrapper /usr/sbin/purgestat \
|
||||
@ -17,6 +18,7 @@ SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
||||
.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL)
|
||||
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
||||
.endif
|
||||
.endif
|
||||
|
||||
afterinstall:
|
||||
.if !defined(NO_MAILWRAPPER)
|
||||
|
Loading…
Reference in New Issue
Block a user