diff --git a/srcpkgs/nodejs-lts/template b/srcpkgs/nodejs-lts/template index aecbaabdd01..70bac4d6c7f 100644 --- a/srcpkgs/nodejs-lts/template +++ b/srcpkgs/nodejs-lts/template @@ -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