summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-05-09 07:24:39 +0000
committerdelphij <delphij@FreeBSD.org>2014-05-09 07:24:39 +0000
commit628e16b68daf172926db500c19dabb930d9cc0f0 (patch)
treee167a1beafaef047d0d73c0540350b12bbde2925
parent0dcd2e5d83e6dca6367d29d3f852019bca795f53 (diff)
downloadFreeBSD-src-628e16b68daf172926db500c19dabb930d9cc0f0.zip
FreeBSD-src-628e16b68daf172926db500c19dabb930d9cc0f0.tar.gz
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
-rw-r--r--lib/libmagic/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile
index d341a3a..59d772d 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
OpenPOWER on IntegriCloud