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:
obrien 2001-10-08 22:57:03 +00:00
parent 0d5a8d884b
commit 16c9c17233

View File

@ -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}