From 7b4b545d762a65781aca6c90172dfb28a70db727 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 4 Mar 2023 17:37:47 +0100 Subject: extra/js102: another try to build on i486 --- extra/js102/PKGBUILD | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'extra/js102/PKGBUILD') diff --git a/extra/js102/PKGBUILD b/extra/js102/PKGBUILD index df23dbac..00dd2d2d 100644 --- a/extra/js102/PKGBUILD +++ b/extra/js102/PKGBUILD @@ -18,6 +18,10 @@ if [ "$CARCH" = 'i486' -o "$CARCH" = 'i686' ]; then ' )" fi +# no rust on i486 +if [ "$CARCH" = 'i486' ]; then + makedepends=(${makedepends[@]//rust/}) +fi # hard pinning rust version (as it fails with rust 1.50) # this rust version now needs llvm11 @@ -27,5 +31,11 @@ fi # rust is linked against old versions of LLVM and Openssl # and cannot be rebuilt currently -makedepends+=(llvm14) -makedepends+=(openssl-1.1) +if [ "$CARCH" = 'pentium4' -o "$CARCH" = 'i686' ]; then + makedepends+=(llvm14-libs) + makedepends+=(openssl-1.1) +fi + +if [ "$CARCH" = 'i486' ]; then + makedepends+=(openssl-1.1) +fi -- cgit v1.2.3-70-g09d2