Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

43 lines (30 sloc) 0.992 kb
# $NetBSD: Makefile,v 1.27 2012/07/11 19:01:00 wiz Exp $
DISTNAME= file-5.11
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
PKG_DESTDIR_SUPPORT= user-destdir
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+= rename:-Wextra:-W
.endif
# gcc<3 does not know -Wunused-parameter
.if !empty(CC_VERSION:Mgcc-2*)
BUILDLINK_TRANSFORM+= rm:-Wunused-parameter
.endif
.if ${LOWER_OPSYS} == "aix"
CFLAGS+= -D_LINUX_SOURCE_COMPAT
.endif
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.