diff --git a/srcpkgs/Bear/template b/srcpkgs/Bear/template index b030fb99f55..109d6e9cc76 100644 --- a/srcpkgs/Bear/template +++ b/srcpkgs/Bear/template @@ -1,7 +1,7 @@ # Template file for 'Bear' pkgname=Bear version=3.1.6 -revision=4 +revision=6 build_style=cmake hostmakedepends="pkg-config protobuf protobuf-devel grpc" makedepends="json-c++ spdlog grpc-devel protobuf-devel gtest-devel" @@ -13,7 +13,7 @@ homepage="https://github.com/rizsotto/Bear" distfiles="https://github.com/rizsotto/Bear/archive/${version}.tar.gz" checksum=99cd891eec6e89b734d7cafe0e623dd8c2f27d8cbf3ee9bc4807e69e5c8fb55c -if [ -z "$XBPS_CHECK_PKGS" ]; then +if [ -z "$XBPS_CHECK_PKGS" ] || [ "$CROSS_BUILD" ]; then configure_args="-DENABLE_FUNC_TESTS=OFF -DENABLE_UNIT_TESTS=OFF" fi