From 4e853aca86643888e4acf30a928ab1fca2db224f Mon Sep 17 00:00:00 2001 From: pjd Date: Tue, 27 Nov 2012 16:23:12 +0000 Subject: Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined. MFC after: 2 weeks --- usr.bin/passwd/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/usr.bin/passwd/Makefile b/usr.bin/passwd/Makefile index 7aeee56..d657c80 100644 --- a/usr.bin/passwd/Makefile +++ b/usr.bin/passwd/Makefile @@ -19,7 +19,9 @@ beforeinstall: chflags noschg ${DESTDIR}${BINDIR}/$i || true .endfor +.if !defined(NO_FSCHG) afterinstall: -chflags schg ${DESTDIR}${BINDIR}/passwd +.endif .include -- cgit v1.1