summaryrefslogtreecommitdiff
path: root/rapidjson
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-03 20:48:55 +0000
committerTim Biermann <tbier@posteo.de>2020-11-03 20:48:55 +0000
commitf0108a8200e3c4850c0370c1992f1c3970ab9001 (patch)
tree275df2df5ce3f94128817d7ef18df59a518dccfe /rapidjson
parent97397434fd9cb5a5cf837d5ad165ecb784af7da8 (diff)
downloadcontrib-f0108a8200e3c4850c0370c1992f1c3970ab9001.tar.gz
contrib-f0108a8200e3c4850c0370c1992f1c3970ab9001.tar.xz
rapidjson: updated cmake syntax
Diffstat (limited to 'rapidjson')
-rw-r--r--rapidjson/.signature4
-rw-r--r--rapidjson/Pkgfile5
2 files changed, 5 insertions, 4 deletions
diff --git a/rapidjson/.signature b/rapidjson/.signature
index 405e48a5d..63158c73e 100644
--- a/rapidjson/.signature
+++ b/rapidjson/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3/9UbDw18GyI1WuyBoMpPOXev3fQasXIJfA8deNDL/DKkSzM19SIgXZM8m3qb8VUzIHXyO84QZtalYn9sROtTAM=
-SHA256 (Pkgfile) = f23c5ff459e68ca95ffba5531da6272336ee88d9413c67287bfdd801bb448885
+RWSagIOpLGJF37/5DNfzEMYX+tZPU3WcUA7SnC4cwKiqd4aId1edqSpOI5FdZBIjxbrNybyfsWiCKdrU8kiIy1bprwG48gYjwQs=
+SHA256 (Pkgfile) = 1f1867d2f75cbec0edd6162c64941f1de85f3b4f69e222f229b74d1b1384eb19
SHA256 (.footprint) = b4bef9b0129fa2f3800eb41e617931f8ff9e9f4ed407c31a26bceafbc4e53d9e
SHA256 (rapidjson-1.1.0.tar.gz) = bf7ced29704a1e696fbccf2a2b4ea068e7774fa37f6d7dd4039d0787f8bed98e
diff --git a/rapidjson/Pkgfile b/rapidjson/Pkgfile
index aba9d58ea..fa3b7493b 100644
--- a/rapidjson/Pkgfile
+++ b/rapidjson/Pkgfile
@@ -9,9 +9,10 @@ release=2
source=(https://github.com/Tencent/rapidjson/archive/v$version/$name-$version.tar.gz)
build() {
- find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i # Don't use -Werror
+ #find -name CMakeLists.txt | xargs sed -e 's|-Werror||' -i # Don't use -Werror
+ [[ -e /usr/bin/ninja ]] && PKGMK_RAPIDJSON_OPTIONS=' -GNinja'
[[ -e /usr/lib/ccache ]] && PATH="$(echo ${PATH} | awk -v RS=: -v ORS=: '/ccache/ {next} {print}' | sed 's/:*$//')"
- cmake -S$name-$version -Bbuild \
+ cmake -S$name-$version -Bbuild $PKGMK_RAPIDJSON_OPTIONS \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DRAPIDJSON_BUILD_DOC=OFF \

Generated by cgit