svn commit: r265757 - stable/9/lib/libmagic

Xin LI delphij at FreeBSD.org
Fri May 9 08:18:58 UTC 2014


Author: delphij
Date: Fri May  9 08:18:57 2014
New Revision: 265757
URL: http://svnweb.freebsd.org/changeset/base/265757

Log:
  MFC r265464:
  
  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

Modified:
  stable/9/lib/libmagic/Makefile
Directory Properties:
  stable/9/lib/libmagic/   (props changed)

Modified: stable/9/lib/libmagic/Makefile
==============================================================================
--- stable/9/lib/libmagic/Makefile	Fri May  9 08:15:35 2014	(r265756)
+++ stable/9/lib/libmagic/Makefile	Fri May  9 08:18:57 2014	(r265757)
@@ -33,7 +33,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-stable-9 mailing list