Files
Joshua Root d0071edd3c json-c: update to 0.18
Also use release tarball and remove workaround for old postgis2.
2025-02-25 14:42:54 +11:00

34 lines
1.4 KiB
Tcl

# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup cmake 1.0
PortGroup github 1.0
PortGroup muniversal 1.0
github.setup json-c json-c 0.18 json-c- -20240915
revision 0
license MIT
categories textproc devel
maintainers nomaintainer
description A JSON parser
long_description JSON-C implements a reference counting object model that allows \
you to easily construct JSON objects in C, output them as JSON \
formatted strings and parse JSON formatted strings back into \
the C representation of JSON objects.
master_sites https://s3.amazonaws.com/json-c_releases/releases/
distfiles ${name}-${version}-nodoc${extract.suffix}
checksums md5 e795aadd85376623777ff0fd259bebab \
rmd160 c563f362ba81d831d9b1ab1abd6f0d9e70881b85 \
sha256 602cdefc1d2aab8318fc0814b7ce7d59e72514d4276ca3eff92f35f86cf1c160
cmake.out_of_source yes
# disable warnings as errors, fixes:
# cc1: warnings being treated as errors
# json_object.c:73: warning: 'cold' attribute directive ignored
# make[2]: *** [CMakeFiles/json-c.dir/build.make:125: CMakeFiles/json-c.dir/json_object.c.o] Error 1
configure.args-append -DDISABLE_WERROR=ON