4b34f49bc7
PR pkg/48990. Bump PKGREVISION.
33 lines
811 B
Makefile
33 lines
811 B
Makefile
# $NetBSD: Makefile,v 1.10 2014/07/17 09:18:27 obache Exp $
|
|
|
|
DISTNAME= json-c-0.12
|
|
PKGREVISION= 2
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= https://s3.amazonaws.com/json-c_releases/releases/
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://github.com/json-c/json-c/wiki
|
|
COMMENT= JSON library in C
|
|
LICENSE= mit
|
|
|
|
MAKE_JOBS_SAFE= no
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= pkg-config
|
|
|
|
PKGCONFIG_OVERRIDE+= json-c.pc.in
|
|
|
|
CONFIGURE_ARGS+= --disable-oldname-compat
|
|
|
|
.include "../../mk/compiler.mk"
|
|
.if !empty(PKGSRC_COMPILER:Mclang)
|
|
CFLAGS+= -Wno-tautological-compare -Wno-unused-value
|
|
.endif
|
|
|
|
# gcc < 4.2 does not have -Wno-error= option.
|
|
.if !empty(CC_VERSION:Mgcc-3*) || !empty(CC_VERSION:Mgcc-4.[01]*)
|
|
BUILDLINK_TRANSFORM+= rm:-Werror rm:-Wno-error=deprecated-declarations
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|