testing/sentinel-minipot: fix build on riscv64

I understand now what is going on, since check() is disabled on the
riscv64 package builder checkdepends is not installed, but check-dev
(not check) is a needed dependency, otherwise the configure script will
fail with

  checking for check >= 0.11... no
  configure: error: Package requirements (check >= 0.11) were not met:

  Package 'check', required by 'virtual:world', not found

  Consider adjusting the PKG_CONFIG_PATH environment variable if you
  installed software in a non-standard prefix.

  Alternatively, you may set the environment variables CHECK_CFLAGS
  and CHECK_LIBS to avoid the need to call pkg-config.
  See the pkg-config man page for more details.
This commit is contained in:
omni 2023-12-14 16:39:28 +00:00
parent ade8f560e6
commit 218bdb9780

View File

@ -14,7 +14,6 @@ makedepends="
autoconf
automake
base64c-dev
check
czmq-dev
gperf
libevent-dev
@ -33,6 +32,13 @@ source="https://gitlab.nic.cz/turris/sentinel/minipot/-/archive/v$pkgver/minipot
"
builddir="$srcdir/minipot-v$pkgver"
case "$CARCH" in
riscv64)
# check() is disabled on the riscv64 package builder
makedepends="$makedepends $checkdepends"
;;
esac
prepare() {
default_prepare