Author: delphij
Date: Tue May  6 21:30:58 2014
New Revision: 265464
URL: http://svnweb.freebsd.org/changeset/base/265464

Log:
  Sort .ALLSRC before concatenating files together.  This makes sure that the
  file are always built the same.
  
  (Note that Header and Localstuff must appear first and in that order, the
  sorting does not affect as a coincident effect).
  
  Submitted by: sjg
  MFC after:    3 days

Modified:
  head/lib/libmagic/Makefile

Modified: head/lib/libmagic/Makefile
==============================================================================
--- head/lib/libmagic/Makefile  Tue May  6 20:40:16 2014        (r265463)
+++ head/lib/libmagic/Makefile  Tue May  6 21:30:58 2014        (r265464)
@@ -32,7 +32,7 @@ MAGFILES=     ${CONTRDIR}/Header\
                ${CONTRDIR}/Magdir/[a-z]*
 
 magic: ${MAGFILES}
-       cat ${.ALLSRC} > ${.TARGET}
+       cat ${.ALLSRC:O} > ${.TARGET}
 
 magic.mgc: mkmagic magic
        ./mkmagic magic
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to