diff options
Diffstat (limited to 'etc/Makefile')
-rw-r--r-- | etc/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/Makefile b/etc/Makefile index e7fa2d5..42d6959 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -256,6 +256,10 @@ distribution: ${DESTDIR}/boot/device.hints .endif .endif +.if ${MK_NIS} == "no" + sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \ + ${DESTDIR}/etc/nsswitch.conf +.endif distrib-dirs: mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ |