summaryrefslogtreecommitdiffstats
path: root/lib/libmagic
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-05-06 21:30:58 +0000
committerdelphij <delphij@FreeBSD.org>2014-05-06 21:30:58 +0000
commit4e7882acda000d3b1786c68a819d6c2fdcbf45a3 (patch)
tree30d524f5d43a1160e8ffb25419019b3cfa4953fe /lib/libmagic
parent66aaa46593a1aeeffe4990905cbc5140897985d8 (diff)
downloadFreeBSD-src-4e7882acda000d3b1786c68a819d6c2fdcbf45a3.zip
FreeBSD-src-4e7882acda000d3b1786c68a819d6c2fdcbf45a3.tar.gz
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
Diffstat (limited to 'lib/libmagic')
-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