diff options
author | Xin LI <delphij@FreeBSD.org> | 2016-06-27 01:29:17 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2016-06-27 01:29:17 +0000 |
commit | 282e23f07bf49b4e37aabdcc1c513a788db36d10 (patch) | |
tree | b8ace7bbb90fbad4c9272ff2656e8bd1ba0cf93f /lib/libmagic | |
parent | 883a5a4a6a26011b906c2491f7e013a03a4e648f (diff) | |
parent | 581c312f134935d421daea8ff9efe57e66a2beab (diff) | |
download | src-282e23f07bf49b4e37aabdcc1c513a788db36d10.tar.gz src-282e23f07bf49b4e37aabdcc1c513a788db36d10.zip |
Notes
Diffstat (limited to 'lib/libmagic')
-rw-r--r-- | lib/libmagic/Makefile | 6 | ||||
-rw-r--r-- | lib/libmagic/config.h | 9 |
2 files changed, 12 insertions, 3 deletions
diff --git a/lib/libmagic/Makefile b/lib/libmagic/Makefile index 76f3e7cbd558..d578b708778b 100644 --- a/lib/libmagic/Makefile +++ b/lib/libmagic/Makefile @@ -54,4 +54,10 @@ ${mp}: ${mp:C/[0-9]/man/} -e 's,__MAGIC__,${MAGICPATH}/magic,g' ${.ALLSRC} > ${.TARGET} .endfor +CLEANFILES+= ${INCS} +.for inc in ${INCS} +${inc}: ${inc}.in + sed -e 's,X.YY,${FILEVER:S,",,g:S,.,,g},g' ${.ALLSRC} > ${.TARGET} +.endfor + .include <bsd.lib.mk> diff --git a/lib/libmagic/config.h b/lib/libmagic/config.h index 6fd29428d311..59976125c130 100644 --- a/lib/libmagic/config.h +++ b/lib/libmagic/config.h @@ -293,7 +293,7 @@ #define PACKAGE_NAME "file" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "file 5.27" +#define PACKAGE_STRING "file 5.28" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "file" @@ -302,7 +302,7 @@ #define PACKAGE_URL "" /* Define to the version of this package. */ -#define PACKAGE_VERSION "5.27" +#define PACKAGE_VERSION "5.28" /* Define to 1 if you have the ANSI C header files. */ #define STDC_HEADERS 1 @@ -333,7 +333,7 @@ /* Version number of package */ -#define VERSION "5.27" +#define VERSION "5.28" /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ @@ -347,6 +347,9 @@ # endif #endif +/* Enable zlib compression support */ +#define ZLIBSUPPORT 1 + /* Enable large inode numbers on Mac OS X 10.5. */ #ifndef _DARWIN_USE_64_BIT_INODE # define _DARWIN_USE_64_BIT_INODE 1 |