summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mailwrapper
diff options
context:
space:
mode:
authorjohan <johan@FreeBSD.org>2004-01-17 23:58:23 +0000
committerjohan <johan@FreeBSD.org>2004-01-17 23:58:23 +0000
commit11d05af5422cab1e906722b1a19f3b6f9ee5d24a (patch)
tree35bd17a2b443e94376e4c7fe5b3b22c804ea7bb0 /usr.sbin/mailwrapper
parent05b82e91626a3f6e5e5da5ab286c70449f95ccc7 (diff)
downloadFreeBSD-src-11d05af5422cab1e906722b1a19f3b6f9ee5d24a.zip
FreeBSD-src-11d05af5422cab1e906722b1a19f3b6f9ee5d24a.tar.gz
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
Diffstat (limited to 'usr.sbin/mailwrapper')
-rw-r--r--usr.sbin/mailwrapper/Makefile2
1 files changed, 2 insertions, 0 deletions
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)
OpenPOWER on IntegriCloud