firejail: unbreak aarch64 / disable seccomp only for cross

Closes: #11836 [via git-merge-pr]
This commit is contained in:
newbluemoon 2018-02-23 16:50:33 +01:00 committed by Jürgen Buchmüller
parent f23f18514c
commit 0231de97ba

View file

@ -1,7 +1,7 @@
# Template file for 'firejail'
pkgname=firejail
version=0.9.52
revision=1
revision=2
build_style=gnu-configure
hostmakedepends="automake"
conf_files="/etc/firejail/*"
@ -12,13 +12,9 @@ homepage="https://firejail.wordpress.com"
distfiles="https://github.com/netblue30/firejail/archive/${version}.tar.gz"
checksum=e9e63ec8a740b0021eea8ff5b7c95d34605b439d7d2afa7699f3767745ac2ba4
case "$XBPS_TARGET_MACHINE" in
aarch64*) broken="https://build.voidlinux.eu/builders/aarch64-musl_builder/builds/5076/steps/shell_3/logs/stdio" ;;
esac
case "$XBPS_TARGET_MACHINE" in
arm*|aarch64*) configure_args+=" --disable-seccomp" ;;
esac
if [ -n "$CROSS_BUILD" ]; then
configure_args+=" --disable-seccomp"
fi
pre_configure() {
autoreconf -fi