From 7718b33896ebfd173d69afc736bd9d3f35955c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 29 Jan 2018 22:37:45 +0100 Subject: [PATCH] xfce4-sensors-plugin: fix cross --- srcpkgs/xfce4-sensors-plugin/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/xfce4-sensors-plugin/template b/srcpkgs/xfce4-sensors-plugin/template index fda027d2b2b..3250f30bf88 100644 --- a/srcpkgs/xfce4-sensors-plugin/template +++ b/srcpkgs/xfce4-sensors-plugin/template @@ -13,4 +13,8 @@ homepage="http://goodies.xfce.org/projects/panel-plugins/xfce4-sensors-plugin" license="GPL-2" distfiles="http://archive.xfce.org/src/panel-plugins/${pkgname}/${version%.*}/${pkgname}-${version}.tar.bz2" checksum=235ef842bd45e701bceebb21a384ab09f21afceea8ed95f91bb4c6cf3abe1bc0 -nocross="https://build.voidlinux.eu/builders/armv6l-musl_builder/builds/7240/steps/shell_3/logs/stdio" + +if [ -n "$CROSS_BUILD" ]; then + # Cannot detect these when cross compiling + configure_args+=" --disable-procacpi --disable-sysfsacpi --disable-xnvctrl" +fi