tor: disable seccomp on aarch64

Fails with: error: 'mcontext_t' has no member named 'M_SYSCALL'.
This commit is contained in:
Alessio Sergi 2016-09-24 12:00:24 +02:00
parent 807adffff1
commit a558146e28

View file

@ -16,6 +16,10 @@ homepage="http://www.torproject.org/"
distfiles="https://www.torproject.org/dist/tor-$version.tar.gz"
checksum=b1af02c61253dcdb4e1a4f552adaba4e07aed0e5468e45c0764550161480e3de
case "$XBPS_TARGET_MACHINE" in
aarch64*) configure_args="--disable-seccomp";;
esac
post_install() {
# Use our own default config file.
vinstall ${FILESDIR}/torrc 640 etc/tor