From 28ab4bb8f7dbc5d232e4d368401c1ca3f0353da8 Mon Sep 17 00:00:00 2001 From: Xin LI Date: Tue, 6 May 2014 21:30:58 +0000 Subject: [PATCH] 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 --- lib/libmagic/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile index d341a3a5f564..59d772df552f 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