pkgsrc/sysutils/file/Makefile
wiz 74c030fc42 Updated file to 5.32.
* release 5.32
	* Always reset state in {file,buffer}_apprentice (Krzysztof Wilczynski)
	* Fix always true condition (Thomas Jarosch)
	* pickier parsing of numeric values in magic files.
	* PR/615 add magic_getflags()
	* release 5.31
	* remove trailing spaces from magic files
	* refactor is_tar
	* better bounds checks for cdf
	* release 5.30
	* If we exceeded the offset in a search return no match
	  (Christoph Biedl)
	* Be more lenient on corrupt CDF files (Christoph Biedl)
	* pacify ubsan sign extension (oss-fuzz/524)
	* off by one in cdf parsing (PR/593)
	* report debugging sections in elf (PR/591)
	* Allow @@@ in extensions
	* Add missing overflow check in der magic (Jonas Wagner)
	* release 5.29
	* der getlength overflow (Jonas Wagner)
	* multiple magic file load failure (Christoph Biedl)
	* CDF parsing improvements (Guy Helmer)
	* Add support for signed indirect offsets
	* cat /dev/null | file - should print empty (Christoph Biedl)
	* Bump string size from 64 to 96.
	* PR/556: Fix separators on annotations.
2017-09-04 12:13:28 +00:00

36 lines
920 B
Makefile

# $NetBSD: Makefile,v 1.40 2017/09/04 12:13:28 wiz Exp $
DISTNAME= file-5.32
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.astron.com/pub/file/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.darwinsys.com/file/
COMMENT= Tool for determining file type
LICENSE= 2-clause-bsd
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-fsect-man5
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
TEST_TARGET= check
.include "../../mk/compiler.mk"
# gcc<4 does not know -Wextra.
# XXX: should be treated with wrappers automatically.
.if !empty(CC_VERSION:Mgcc-[23]*)
BUILDLINK_TRANSFORM+= opt:-Wextra:-W
.endif
# gcc<3 does not know -Wunused-parameter
.if !empty(CC_VERSION:Mgcc-2*)
BUILDLINK_TRANSFORM+= rm:-Wunused-parameter
.endif
CFLAGS.AIX+= -D_LINUX_SOURCE_COMPAT
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"