diff --git a/academic/R/R.SlackBuild b/academic/R/R.SlackBuild index 69d417c0c6..4b39db3d80 100644 --- a/academic/R/R.SlackBuild +++ b/academic/R/R.SlackBuild @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=R -VERSION=${VERSION:-4.1.2} +VERSION=${VERSION:-4.1.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -62,10 +62,18 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# Abort build if architecture is not 64-bit. -if [ "$ARCH" != "x86_64" ]; then - echo "$ARCH is not supported." - exit 1 +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi set -e diff --git a/academic/R/R.info b/academic/R/R.info index e8d1b5df61..ef83594ebe 100644 --- a/academic/R/R.info +++ b/academic/R/R.info @@ -1,10 +1,10 @@ PRGNAM="R" -VERSION="4.1.2" +VERSION="4.1.3" HOMEPAGE="https://www.r-project.org/" -DOWNLOAD="UNSUPPORTED" -MD5SUM="" -DOWNLOAD_x86_64="https://cran.r-project.org/src/base/R-4/R-4.1.2.tar.gz" -MD5SUM_x86_64="6e28db9d02c6d3dae51a149b8e261ab1" +DOWNLOAD="https://cran.r-project.org/src/base/R-4/R-4.1.3.tar.gz" +MD5SUM="409bc782b1a42c8247712f6446d7d640" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Andrew Payne" EMAIL="phalange@komputermatrix.com"