From 4b83c5852a5bcba28ed7ce5d13ff021642859772 Mon Sep 17 00:00:00 2001 From: bz Date: Sat, 13 Nov 2004 20:40:32 +0000 Subject: Add knob NO_NIS (fka NO_YP_LIBC) and make world compileable when set. If turned on no NIS support and related programs will be built. Lost parts rediscovered by: Danny Braniss PR: bin/68303 No objections: des, gshapiro, nectar Reviewed by: ru Approved by: rwatson (mentor) MFC after: 2 weeks --- usr.bin/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'usr.bin/Makefile') diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 99c105a..4be12bc 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 -- cgit v1.1