git: 0d238969f064 - main - math/libRmath: upgrade to 4.2.2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 28 Dec 2022 16:45:31 UTC
The branch main has been updated by thierry:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0d238969f064b15d4a2e592c109d951234809426
commit 0d238969f064b15d4a2e592c109d951234809426
Author: Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-12-28 15:55:40 +0000
Commit: Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-12-28 16:45:28 +0000
math/libRmath: upgrade to 4.2.2
Also remove the FLANG option (it does not exist).
---
math/libRmath/Makefile | 21 ++-------------------
math/libRmath/distinfo | 6 +++---
2 files changed, 5 insertions(+), 22 deletions(-)
diff --git a/math/libRmath/Makefile b/math/libRmath/Makefile
index 53aa72f282b7..914499555596 100644
--- a/math/libRmath/Makefile
+++ b/math/libRmath/Makefile
@@ -1,5 +1,5 @@
PORTNAME= libRmath
-DISTVERSION= 4.1.2
+DISTVERSION= 4.2.2
CATEGORIES= math lang
MASTER_SITES= CRAN/src/base/R-${PORTVERSION:C|\..*||}
DISTNAME= R-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
@@ -15,7 +15,7 @@ ONLY_FOR_ARCHS= aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le
LIB_DEPENDS= libcurl.so:ftp/curl \
libpcre2-8.so:devel/pcre2
-USES= localbase
+USES= fortran localbase pathfix
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
@@ -36,25 +36,8 @@ BUILD_WRKSRC= ${WRKSRC}/src/nmath/standalone
PLIST_SUB= RMATH_SOVERSION="${_RMATH_SOVERSION}"
-OPTIONS_DEFINE= FLANG
-OPTIONS_EXCLUDE_aarch64= FLANG
-OPTIONS_EXCLUDE_armv6= FLANG
-OPTIONS_EXCLUDE_armv7= FLANG
-OPTIONS_EXCLUDE_i386= FLANG
-
-FLANG_DESC= Use experimental flang instead of default Fortran compiler
-FLANG_USES= fortran:flang
-FLANG_USES_OFF= fortran
-
_RMATH_SOVERSION= ${DISTVERSION:R}
-post-patch:
- @${REINPLACE_CMD} -e 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|g'\
- ${WRKSRC}/src/nmath/standalone/Makefile.in \
- ${WRKSRC}/src/unix/Makefile.in
- @${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|g" \
- ${WRKSRC}/configure
-
do-install:
${INSTALL_DATA} ${WRKSRC}/src/include/Rmath.h ${STAGEDIR}${PREFIX}/include
${INSTALL_DATA} ${BUILD_WRKSRC}/libRmath.a ${STAGEDIR}${PREFIX}/lib
diff --git a/math/libRmath/distinfo b/math/libRmath/distinfo
index 0ed91cfcce20..78f0573e3dd8 100644
--- a/math/libRmath/distinfo
+++ b/math/libRmath/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1641419692
-SHA256 (R-4.1.2.tar.gz) = 2036225e9f7207d4ce097e54972aecdaa8b40d7d9911cd26491fac5a0fab38af
-SIZE (R-4.1.2.tar.gz) = 34009074
+TIMESTAMP = 1672236901
+SHA256 (R-4.2.2.tar.gz) = 0ff62b42ec51afa5713caee7c4fde7a0c45940ba39bef8c5c9487fef0c953df5
+SIZE (R-4.2.2.tar.gz) = 33987014