aboutsummaryrefslogtreecommitdiff
path: root/rescue/librescue/Makefile
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2004-11-13 20:40:32 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2004-11-13 20:40:32 +0000
commit6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001 (patch)
treeda33d2aed5fb6a0c2319fb0d10f0957f518eee99 /rescue/librescue/Makefile
parent70502bea852fbe21d2d1edc4a67e976adf7f96dd (diff)
downloadsrc-6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001.tar.gz
src-6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001.zip
Notes
Diffstat (limited to 'rescue/librescue/Makefile')
-rw-r--r--rescue/librescue/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/rescue/librescue/Makefile b/rescue/librescue/Makefile
index c53c23d543d2..f73984cd83a0 100644
--- a/rescue/librescue/Makefile
+++ b/rescue/librescue/Makefile
@@ -30,7 +30,10 @@ CFLAGS+= -DPOSIX_MISTAKE
# libc/rpc/Makefile.inc
CFLAGS+= -DBROKEN_DES -DPORTMAP -DDES_BUILTIN
# libc/Makefile
-CFLAGS+= -DYP -DHESIOD
+.if !defined(NO_NIS)
+CFLAGS+= -DYP
+.endif
+CFLAGS+= -DHESIOD
CFLAGS+= -I${.CURDIR}/../../lib/libc/include
.include <bsd.lib.mk>