aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--usr.sbin/sendmail/src/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/sendmail/src/Makefile b/usr.sbin/sendmail/src/Makefile
index 86ba9d51bbb5..c85896b1d37b 100644
--- a/usr.sbin/sendmail/src/Makefile
+++ b/usr.sbin/sendmail/src/Makefile
@@ -17,7 +17,11 @@ PROG= sendmail
# spiral snail, but it will work.
DBMDEF= -DNEWDB
-CFLAGS+=-I${.CURDIR} ${DBMDEF} #-DNETISO
+# if you don't want NIS support, comment out this line
+# FreeBSD supports NIS
+NIS= -DNIS
+
+CFLAGS+=-I${.CURDIR} ${DBMDEF} ${NIS} #-DNETISO
SRCS= alias.c arpadate.c clock.c collect.c conf.c convtime.c daemon.c \
deliver.c domain.c envelope.c err.c headers.c macro.c main.c map.c \
@@ -36,8 +40,6 @@ BINOWN= root
BINMODE=4555
beforeinstall:
-# ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
-# ${DESTDIR}/etc/sendmail.fc
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 644 /dev/null \
${DESTDIR}/var/log/sendmail.st
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/sendmail.hf \