summaryrefslogtreecommitdiff
path: root/yajl
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-03 20:58:38 +0000
committerTim Biermann <tbier@posteo.de>2020-11-03 20:58:38 +0000
commit699ae792acbfe1a60a7d5c8afcc9e9ea0db9dfa3 (patch)
tree72b8bbdd823e169b8316965d1bf85c245361265e /yajl
parent63ebb4251ca787f8db8f1835b260d72bdcb31c75 (diff)
downloadcontrib-699ae792acbfe1a60a7d5c8afcc9e9ea0db9dfa3.tar.gz
contrib-699ae792acbfe1a60a7d5c8afcc9e9ea0db9dfa3.tar.xz
yajl: updated cmake syntax
Diffstat (limited to 'yajl')
-rw-r--r--yajl/.signature4
-rw-r--r--yajl/Pkgfile6
2 files changed, 6 insertions, 4 deletions
diff --git a/yajl/.signature b/yajl/.signature
index 50ef5d63e..1efc3ef1e 100644
--- a/yajl/.signature
+++ b/yajl/.signature
@@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF399+WBP5GMsSLoxJ0ctgrHv+cYIqosL5aR0G5QyAwOU2295f27wAwyUeYDFV0/x8SNrapGIKi/uEatRJEF4LHgU=
-SHA256 (Pkgfile) = 1e2b8e280d05942c6cbaa8e620f85f559c383e35a361a46dc52914f2b3073467
+RWSagIOpLGJF3+s4T19FDj+7c9eJyWZTBLsno88vZm41HrDJybxY7Imcmjvup9wQCCC39Xezyxl5tQtvi3LmUl0Enc77J/sGIwQ=
+SHA256 (Pkgfile) = 1157f7ff0e83f685e07d13db08fd0c767926100fffee26da62057895df8cebf9
SHA256 (.footprint) = a12a3cd23e0ffa9ef413dd7d8d801472c0b67d9f53dae0d996713ea0eaca8686
SHA256 (yajl-2.1.0.tar.gz) = 3fb73364a5a30efe615046d07e6db9d09fd2b41c763c5f7d3bfb121cd5c5ac5a
diff --git a/yajl/Pkgfile b/yajl/Pkgfile
index abca072c7..ac65586c2 100644
--- a/yajl/Pkgfile
+++ b/yajl/Pkgfile
@@ -9,8 +9,10 @@ release=1
source=(https://github.com/lloyd/$name/archive/$version/$name-$version.tar.gz)
build() {
- cmake -S$name-$version -Bbuild \
- -DCMAKE_INSTALL_PREFIX=/usr
+ [[ -e /usr/bin/ninja ]] && PKGMK_YAJL_OPTIONS=' -GNinja'
+ cmake -S$name-$version -Bbuild $PKGMK_YAJL_OPTIONS \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
}

Generated by cgit