--- a/subversion.SlackBuild 2022-03-06 20:46:13.418298772 +0000 +++ b/subversion.SlackBuild 2022-03-12 21:41:59.789922462 +0000 @@ -52,6 +52,12 @@ elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" LIBDIRSUFFIX="" +elif [ "$ARCH" = "aarch64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +elif [ "$ARCH" = "riscv64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" @@ -83,6 +89,8 @@ export svn_cv_pycfmt_apr_int64_t="L" fi +[[ $ARCH != "riscv64" ]] && OPTIONS=" --with-kwallet " + CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -98,8 +106,8 @@ --with-lz4=/usr \ --with-zlib=/usr \ --with-pic \ - --with-kwallet \ --with-gnome-keyring \ + $OPTIONS \ --build=$ARCH-slackware-linux || exit 1 make $NUMJOBS || make || exit 1