svn commit: r265464 - head/lib/libmagic

Xin LI delphij at FreeBSD.org
Tue May 6 21:30:59 UTC 2014


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


More information about the svn-src-head mailing list