summaryrefslogtreecommitdiff
path: root/usr.bin/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r--usr.bin/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile
index 99c105a7c8724..4be12bcb671bf 100644
--- a/usr.bin/Makefile
+++ b/usr.bin/Makefile
@@ -221,9 +221,9 @@ SUBDIR= alias \
xstr \
${_yacc} \
yes \
- ypcat \
- ypmatch \
- ypwhich
+ ${_ypcat} \
+ ${_ypmatch} \
+ ${_ypwhich}
.if ${MACHINE_ARCH} != "arm" && \
${MACHINE_ARCH} != "powerpc"
@@ -250,6 +250,12 @@ _chkey= chkey
_newkey= newkey
.endif
+.if !defined(NO_NIS)
+_ypcat= ypcat
+_ypmatch= ypmatch
+_ypwhich= ypwhich
+.endif
+
.if !defined(NO_SENDMAIL)
_vacation= vacation
.endif