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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124644
@ -8,6 +8,7 @@ DPADD= ${LIBUTIL}
|
|||||||
LDADD= -lutil
|
LDADD= -lutil
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if !defined(NO_MAILWRAPPER) || !defined(NO_SENDMAIL)
|
||||||
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
||||||
${BINDIR}/mailwrapper /usr/sbin/hoststat \
|
${BINDIR}/mailwrapper /usr/sbin/hoststat \
|
||||||
${BINDIR}/mailwrapper /usr/sbin/purgestat \
|
${BINDIR}/mailwrapper /usr/sbin/purgestat \
|
||||||
@ -17,6 +18,7 @@ SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \
|
|||||||
.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL)
|
.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL)
|
||||||
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper
|
||||||
.endif
|
.endif
|
||||||
|
.endif
|
||||||
|
|
||||||
afterinstall:
|
afterinstall:
|
||||||
.if !defined(NO_MAILWRAPPER)
|
.if !defined(NO_MAILWRAPPER)
|
||||||
|
Loading…
Reference in New Issue
Block a user