summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2020-10-01 16:37:49 +0000
committerEnji Cooper <ngie@FreeBSD.org>2020-10-01 16:37:49 +0000
commitc9d175ea908f26e19afd4e1168c61f4f2a54c998 (patch)
tree47bf21a014c573e5355c59d3c597e7d3018b8756 /lib/libc
parentd213476d1cb7a0266812395a6b7a143c912f5aa3 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/Makefile.inc3
-rw-r--r--lib/libc/net/Makefile.inc3
2 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/gen/Makefile.inc b/lib/libc/gen/Makefile.inc
index 779b418e93409..c0d719371fc8d 100644
--- a/lib/libc/gen/Makefile.inc
+++ b/lib/libc/gen/Makefile.inc
@@ -552,7 +552,8 @@ MLINKS+=wordexp.3 wordfree.3
.include <src.tools.mk>
-afterinstallconfig:
+afterinstallconfig: install-passwd
+install-passwd: .PHONY
.if ${MK_TCSH} == "no"
sed -i "" -e 's;/bin/csh;/bin/sh;' ${DESTDIR}/etc/master.passwd
.endif
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index b31c1a36fcfe2..6628028ccc83b 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -124,8 +124,9 @@ SRCS+= hesiod.c
MAN+= hesiod.3
.endif
+afterinstallconfig: modify-nsswitch-conf
+modify-nsswitch-conf: .PHONY
.if ${MK_NIS} == "no"
-afterinstallconfig:
sed -i "" -e 's/.*_compat:/# &/' -e 's/compat$$/files/' \
${DESTDIR}/etc/nsswitch.conf
.endif