summaryrefslogtreecommitdiffstats
path: root/rescue/librescue/Makefile
diff options
context:
space:
mode:
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 c53c23d..f73984c 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>
OpenPOWER on IntegriCloud