nodejs-lts: add support for ppc64le cross, mark ppc64be broken

[ci skip]
This commit is contained in:
q66 2018-12-14 18:29:52 +01:00 committed by Helmut Pozimski
parent b150c69dbe
commit bd650db229

View file

@ -24,6 +24,11 @@ replaces="iojs>=0"
conflicts="nodejs"
provides="nodejs-runtime-0_1"
case "$XBPS_TARGET_MACHINE" in
ppc64le*) ;;
ppc64*) broken="Node is not supported on ppc64 BE Linux";;
esac
do_configure() {
local _args
@ -32,6 +37,7 @@ do_configure() {
case "$XBPS_TARGET_MACHINE" in
arm*) _args="--dest-cpu=arm --without-snapshot" ;;
aarch64*) _args="--dest-cpu=arm64 --without-snapshot" ;;
ppc64le*) _args="--dest-cpu=ppc64 --without-snapshot" ;;
*) msg_error "$pkgver: cannot be cross compiled for ${XBPS_TARGET_MACHINE}\n" ;;
esac
fi