From cf852c656f924c1f13813fc9ec9b688d10ad051d Mon Sep 17 00:00:00 2001 From: John Date: Sun, 24 Mar 2019 19:22:11 +0100 Subject: [PATCH] icinga2: fix cross --- srcpkgs/icinga2/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/icinga2/template b/srcpkgs/icinga2/template index 54ffc07542b..8b21d1c78ff 100644 --- a/srcpkgs/icinga2/template +++ b/srcpkgs/icinga2/template @@ -20,12 +20,14 @@ homepage="https://www.icinga.org/" distfiles="https://github.com/Icinga/icinga2/archive/v${version}.tar.gz" checksum=3d46e61bc45a369c757a9f91111b80fb2405099a32e04e7d259f8c3a72cfe762 -nocross="https://build.voidlinux.eu/builders/armv7l_builder/builds/25979/steps/shell_3/logs/stdio" - system_accounts="icinga" system_groups="icingacmd" icinga_groups="icingacmd" +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" qemu-user-static" +fi + post_install() { vsv icinga2 # remove useless files