Update for FILE v3.37.
FreeBSD no longer needs the daylight hack. (we really should sync our timezone code up ...)
This commit is contained in:
parent
6cb9e840ab
commit
6f1f13ef07
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=84688
@ -25,7 +25,7 @@ SRCDIR= ${.CURDIR}/../../contrib/file
|
||||
PROG= file
|
||||
MAN= file.1 magic.5
|
||||
SRCS= file.c apprentice.c fsmagic.c softmagic.c ascmagic.c \
|
||||
compress.c is_tar.c readelf.c print-hacked.c
|
||||
compress.c is_tar.c readelf.c print.c
|
||||
# compress.c is_tar.c readelf.c internat.c print.c
|
||||
|
||||
MAGICPATH= /usr/share/misc
|
||||
@ -53,13 +53,9 @@ magic.mime.mgc: mkmagic magic.mime
|
||||
./mkmagic magic.mime.PITA
|
||||
mv magic.mime.PITA.mgc magic.mime.mgc
|
||||
|
||||
CLEANFILES+= print-hacked.c
|
||||
print-hacked.c: print.c
|
||||
sed -e 's|daylight|0/*daylight*/|g' ${.ALLSRC} > ${.TARGET}
|
||||
|
||||
CLEANFILES+= mkmagic
|
||||
build-tools: mkmagic
|
||||
mkmagic: apprentice.c print-hacked.c
|
||||
mkmagic: apprentice.c print.c
|
||||
${CC} -DHAVE_CONFIG_H -DCOMPILE_ONLY \
|
||||
-I${.CURDIR} -I${SRCDIR} -o ${.TARGET} ${.ALLSRC}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user