From 218bdb97806316bb08a15417a795ec5cd3384743 Mon Sep 17 00:00:00 2001 From: omni Date: Thu, 14 Dec 2023 16:39:28 +0000 Subject: [PATCH] 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. --- testing/sentinel-minipot/APKBUILD | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/testing/sentinel-minipot/APKBUILD b/testing/sentinel-minipot/APKBUILD index 814ea1ada0b..688dad0c64e 100644 --- a/testing/sentinel-minipot/APKBUILD +++ b/testing/sentinel-minipot/APKBUILD @@ -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