From 6c58990d4782600a6f5fc5ce9fc0ef48bd9cc001 Mon Sep 17 00:00:00 2001 From: "Bjoern A. Zeeb" 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 --- libexec/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'libexec/Makefile') diff --git a/libexec/Makefile b/libexec/Makefile index bfda5e41aedd..100cd04d628e 100644 --- a/libexec/Makefile +++ b/libexec/Makefile @@ -12,7 +12,7 @@ SUBDIR= atrun \ ${_lukemftpd} \ ${_mail.local} \ makekey \ - mknetid \ + ${_mknetid} \ pppoed \ pt_chown \ rbootd \ @@ -32,7 +32,12 @@ SUBDIR= atrun \ tcpd \ telnetd \ tftpd \ - ypxfr + ${_ypxfr} + +.if !defined(NO_NIS) +_mknetid= mknetid +_ypxfr= ypxfr +.endif .if !defined(NO_PF) _ftp-proxy= ftp-proxy -- cgit v1.3