summaryrefslogtreecommitdiff
path: root/gnu/usr.sbin
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-04-10 22:05:47 +0000
committerthorpej <thorpej@NetBSD.org>2002-04-10 22:05:47 +0000
commit2b0761b3c8f19add756f571979cd4aa61b99e49f (patch)
tree78f441ba7d6598f9c89cb72ede9d3455311f722e /gnu/usr.sbin
parenta74d497074900b07b51bacdedef3fbaac5ab8676 (diff)
Obey USE_YP.
Diffstat (limited to 'gnu/usr.sbin')
-rw-r--r--gnu/usr.sbin/sendmail/Makefile.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/usr.sbin/sendmail/Makefile.inc b/gnu/usr.sbin/sendmail/Makefile.inc
index 86947752385..9b6545b5e79 100644
--- a/gnu/usr.sbin/sendmail/Makefile.inc
+++ b/gnu/usr.sbin/sendmail/Makefile.inc
@@ -1,12 +1,16 @@
-# $NetBSD: Makefile.inc,v 1.5 2001/03/21 17:37:11 itojun Exp $
+# $NetBSD: Makefile.inc,v 1.6 2002/04/10 22:05:47 thorpej Exp $
WARNS?= 0
-CPPFLAGS+= -DNEWDB -DNIS
+CPPFLAGS+= -DNEWDB
CPPFLAGS+= -DMAP_REGEX -DTCPWRAPPERS -DNETISO
CPPFLAGS+= -DNEEDSGETIPNODE -DNETINET6
CPPFLAGS+= -I. -I${DIST}/sendmail/sendmail -I${DIST}/sendmail/include
+.if (${USE_YP} != "no")
+CPPFLAGS+= -DNIS
+.endif
+
.if ${MKCRYPTO} != "no"
CPPFLAGS+= -DSTARTTLS -D_FFR_TLS_TOREK
LDADD+= -lssl -lcrypto