From 11d05af5422cab1e906722b1a19f3b6f9ee5d24a Mon Sep 17 00:00:00 2001 From: johan Date: Sat, 17 Jan 2004 23:58:23 +0000 Subject: Do not install SYMLINKS if both NO_MAILWRAPPER and NO_SENDMAIL is defined. PR: 57058 Reported by: Henri Hennebert Melvyn Sopacua on current@ Submitted by: ru@ MFC after: 2 weeks --- usr.sbin/mailwrapper/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'usr.sbin/mailwrapper') diff --git a/usr.sbin/mailwrapper/Makefile b/usr.sbin/mailwrapper/Makefile index 1db3325..f67e775 100644 --- a/usr.sbin/mailwrapper/Makefile +++ b/usr.sbin/mailwrapper/Makefile @@ -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) -- cgit v1.1