2016-05-17 16:59:23 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2016/05/17 16:59:23 jca Exp $
|
2008-03-23 08:57:02 +00:00
|
|
|
|
|
|
|
COMMENT= JSON implementation in C
|
|
|
|
|
2014-04-22 10:52:35 +00:00
|
|
|
DISTNAME= json-c-0.12
|
2008-03-23 08:57:02 +00:00
|
|
|
CATEGORIES= devel
|
2016-05-17 16:59:23 +00:00
|
|
|
REVISION= 1
|
2014-04-22 10:52:35 +00:00
|
|
|
|
2013-05-02 20:29:05 +00:00
|
|
|
SHARED_LIBS += json-c 0.0 # 2.1
|
2008-03-23 08:57:02 +00:00
|
|
|
|
|
|
|
HOMEPAGE= http://oss.metaparadigm.com/json-c/
|
|
|
|
|
|
|
|
# MIT
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2013-05-02 20:29:05 +00:00
|
|
|
MASTER_SITES = https://s3.amazonaws.com/json-c_releases/releases/
|
2008-03-23 08:57:02 +00:00
|
|
|
|
2015-08-25 11:37:02 +00:00
|
|
|
CONFIGURE_STYLE= autoconf autoheader
|
|
|
|
AUTOCONF_VERSION= 2.69
|
2008-03-23 08:57:02 +00:00
|
|
|
|
2014-04-22 10:52:35 +00:00
|
|
|
# not enabled by default at present, but we want to make sure we
|
2016-05-17 16:59:23 +00:00
|
|
|
# don't use it if it's later enabled, we patch to use arc4random instead.
|
2014-04-22 10:52:35 +00:00
|
|
|
# (the cpuid code will probably break with PIE on i386 too).
|
|
|
|
CONFIGURE_ARGS= --disable-rdrand
|
|
|
|
|
|
|
|
# wrong mtime in 0.12
|
|
|
|
post-extract:
|
|
|
|
touch ${WRKSRC}/config.h.in
|
|
|
|
|
2008-03-23 08:57:02 +00:00
|
|
|
.include <bsd.port.mk>
|