svn commit: r243617 - head/usr.bin/passwd

Pawel Jakub Dawidek pjd at FreeBSD.org
Tue Nov 27 16:23:13 UTC 2012


Author: pjd
Date: Tue Nov 27 16:23:12 2012
New Revision: 243617
URL: http://svnweb.freebsd.org/changeset/base/243617

Log:
  Respect NO_FSCHG and don't set 'schg' flag on passwd/yppasswd is defined.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/passwd/Makefile

Modified: head/usr.bin/passwd/Makefile
==============================================================================
--- head/usr.bin/passwd/Makefile	Tue Nov 27 16:20:44 2012	(r243616)
+++ head/usr.bin/passwd/Makefile	Tue Nov 27 16:23:12 2012	(r243617)
@@ -19,7 +19,9 @@ beforeinstall:
 		chflags noschg ${DESTDIR}${BINDIR}/$i || true
 .endfor
 
+.if !defined(NO_FSCHG)
 afterinstall:
 	-chflags schg ${DESTDIR}${BINDIR}/passwd
+.endif
 
 .include <bsd.prog.mk>


More information about the svn-src-all mailing list