swi-prolog: enable cross

This commit is contained in:
John 2019-03-23 06:49:12 +01:00 committed by John Zimmermann
parent 01d11a4938
commit d606c08bc6

View file

@ -16,4 +16,11 @@ homepage="http://www.swi-prolog.org/"
changelog="http://www.swi-prolog.org/ChangeLog?branch=stable"
distfiles="http://www.swi-prolog.org/download/stable/src/swipl-${version}.tar.gz"
checksum=abb81b55ac5f2c90997c0005b1f15b74ed046638b64e784840a139fe21d0a735
nocross="uses TRY_RUN() to test features"
case "$XBPS_TARGET_MACHINE" in
armv7l*) broken="https://travis-ci.org/void-linux/void-packages/jobs/510224384";;
esac
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static"
fi