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>
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to