From 951bd0ef15b1c142dae8e6a31dfe6ac364d4debf Mon Sep 17 00:00:00 2001 From: delphij Date: Fri, 9 May 2014 07:24:39 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/10@265747 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- lib/libmagic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile index d341a3a5f..59d772df5 100644 --- a/lib/libmagic/Makefile +++ b/lib/libmagic/Makefile @@ -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 -- 2.45.0