Index: usr.sbin/mailwrapper/Makefile =================================================================== RCS file: /home/ncvs/src/usr.sbin/mailwrapper/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- usr.sbin/mailwrapper/Makefile 29 Jul 2002 09:40:16 -0000 1.11 +++ usr.sbin/mailwrapper/Makefile 15 Jan 2004 21:47:01 -0000 @@ -8,14 +8,17 @@ LDADD= -lutil .endif -SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ +__SYMLINKS= ${BINDIR}/mailwrapper /usr/sbin/sendmail \ ${BINDIR}/mailwrapper /usr/sbin/hoststat \ ${BINDIR}/mailwrapper /usr/sbin/purgestat \ ${BINDIR}/mailwrapper /usr/bin/newaliases \ ${BINDIR}/mailwrapper /usr/bin/mailq -.if defined(NO_MAILWRAPPER) && !defined(NO_SENDMAIL) -SYMLINKS+= /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper +.if !defined(NO_MAILWRAPPER) +SYMLINKS= ${__SYMLINKS} +.elif !defined(NO_SENDMAIL) +SYMLINKS= ${__SYMLINKS} \ + /usr/libexec/sendmail/sendmail ${BINDIR}/mailwrapper .endif afterinstall: