diff --git a/srcpkgs/json-c++/template b/srcpkgs/json-c++/template index ad9b81cae5d147..0916dc51a2fc83 100644 --- a/srcpkgs/json-c++/template +++ b/srcpkgs/json-c++/template @@ -1,6 +1,6 @@ # Template file for 'json-c++' pkgname=json-c++ -version=3.11.3 +version=3.12.0 revision=1 build_style=cmake configure_args="-DJSON_MultipleHeaders=ON" @@ -10,12 +10,17 @@ maintainer="Érico Nogueira " license="MIT" homepage="https://github.com/nlohmann/json" distfiles="https://github.com/nlohmann/json/archive/v${version}.tar.gz" -checksum=0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406 +checksum=4b92eb0c06d10683f7447ce9406cb97cd4b453be18d7279320f7b2f025c10187 do_check() { # skip tests requiring wrksrc to be a git clone as they always fail cd build - ctest -LE "git_required" + if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then + ctest -LE "git_required" + else + # also skip locale-dependent test + ctest -LE "git_required" -E "test-locale-cpp_cpp11" + fi } post_install() {