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:
Johan Karlsson 2004-01-17 23:58:23 +00:00
parent 74a1b9fccf
commit ef271e5858
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=124644

View File

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