Don't install usr.sbin/mountd if MK_NFS_SERVER == no

This commit is contained in:
Enji Cooper 2014-12-02 17:10:11 +00:00
parent c8c7f0b0e0
commit c415effcef
2 changed files with 5 additions and 1 deletions

View File

@ -4130,6 +4130,7 @@ OLD_FILES+=usr/share/misc/windrv_stub.c
.endif
.if ${MK_NFS_SERVER} == no
OLD_FILES+=etc/rc.d/mountd
OLD_FILES+=etc/rc.d/nfscbd
OLD_FILES+=etc/rc.d/nfsd
OLD_FILES+=etc/rc.d/nfsuserd
@ -4139,7 +4140,10 @@ OLD_FILES+=usr/sbin/nfsdumpstate
OLD_FILES+=usr/sbin/nfsrevoke
OLD_FILES+=usr/sbin/nfsuserd
OLD_FILES+=usr/share/man/man4/nfsv4.4.gz
OLD_FILES+=usr/share/man/man5/exports.5.gz
OLD_FILES+=usr/share/man/man5/netgroup.5.gz
OLD_FILES+=usr/share/man/man5/stablerestart.5.gz
OLD_FILES+=usr/share/man/man8/mountd.8.gz
OLD_FILES+=usr/share/man/man8/nfscbd.8.gz
OLD_FILES+=usr/share/man/man8/nfsd.8.gz
OLD_FILES+=usr/share/man/man8/nfsdumpstate.8.gz

View File

@ -38,7 +38,6 @@ SUBDIR= adduser \
mfiutil \
mixer \
mlxcontrol \
mountd \
mptutil \
mtest \
${_mtree} \
@ -237,6 +236,7 @@ SUBDIR+= nghook
.endif
.if ${MK_NFS_SERVER} != "no"
SUBDIR+= mountd
SUBDIR+= nfscbd
SUBDIR+= nfsd
SUBDIR+= nfsdumpstate