From 9d5fe42c4ea8bf40bcf707a9bbd43f0436f582ff Mon Sep 17 00:00:00 2001 From: dougb Date: Sat, 6 Aug 2011 09:16:53 +0000 Subject: Rather than edit the nsswitch.conf file based on ${MK_NIS} == "no" comment out the NIS _compat options by default, but leave them in the file for the convenience of users who want to enable it. Update the comment in the file accordingly. Reviewed by: ed Approved by: re (hrs) --- etc/Makefile | 4 ---- 1 file changed, 4 deletions(-) (limited to 'etc/Makefile') diff --git a/etc/Makefile b/etc/Makefile index bfb5282..e7fa2d5 100644 --- a/etc/Makefile +++ b/etc/Makefile @@ -256,10 +256,6 @@ distribution: ${DESTDIR}/boot/device.hints .endif .endif -.if ${MK_NIS} == "no" - sed -i "" -e '/_compat:/d' -e 's/compat/files/' \ - ${DESTDIR}/etc/nsswitch.conf -.endif distrib-dirs: mtree -eU ${MTREE_FOLLOWS_SYMLINKS} -f ${.CURDIR}/mtree/BSD.root.dist -p ${DESTDIR}/ -- cgit v1.1