Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 May 2014 21:30:59 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r265464 - head/lib/libmagic
Message-ID:  <201405062130.s46LUxhC044816@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405062130.s46LUxhC044816>