aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-10-24 14:24:03 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2022-10-24 18:14:53 +0000
commitccbf2582168a837e25d133746d59e5037be5ef52 (patch)
tree5fe12f496bc4db75e0b888b500f65386d3920439
parent4d57f1ea7ed58360a182931b35b9e2a57338b185 (diff)
downloadports-ccbf2582168a837e25d133746d59e5037be5ef52.tar.gz
ports-ccbf2582168a837e25d133746d59e5037be5ef52.zip
math/sundials: Use tarball (again) provided by the upstream; Correct WWW
Also improve CMAKExx and other lines. PR: 267285 Reported by: diizzy@ (tarball-related)
-rw-r--r--math/sundials/Makefile14
-rw-r--r--math/sundials/distinfo6
2 files changed, 10 insertions, 10 deletions
diff --git a/math/sundials/Makefile b/math/sundials/Makefile
index ee3c9035cff1..3b9ea304c778 100644
--- a/math/sundials/Makefile
+++ b/math/sundials/Makefile
@@ -1,11 +1,11 @@
PORTNAME= sundials
DISTVERSION= 6.4.0
CATEGORIES= math
-MASTER_SITES= https://github.com/LLNL/sundials/archive/v${DISTVERSION}/
+MASTER_SITES= https://github.com/LLNL/sundials/releases/download/v${DISTVERSION}/
MAINTAINER= yuri@FreeBSD.org
COMMENT= SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers
-WWW= https://computation.llnl.gov/projects/sundials
+WWW= https://computing.llnl.gov/projects/sundials
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
@@ -13,14 +13,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake:testing fortran localbase:ldflags python:build # 4 tests fail, see https://github.com/LLNL/sundials/issues/220
USE_LDCONFIG= yes
-CMAKE_ARGS= -DENABLE_PTHREAD:BOOL=ON \
- -DBUILD_STATIC_LIBS:BOOL=OFF \
- -DCMAKE_C_STANDARD=99
-CMAKE_OFF= EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90
+CMAKE_ARGS= -DCMAKE_C_STANDARD=99
+CMAKE_ON= ENABLE_PTHREAD
+CMAKE_OFF= BUILD_STATIC_LIBS \
+ EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90
CMAKE_TESTING_ON= SUNDIALS_TEST_UNITTESTS \
EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90
-FCFLAGS:= ${FFLAGS} # project checks that these flags are equal
+FCFLAGS:= ${FFLAGS} # project checks that these flags are equal
OPTIONS_DEFINE= BLAS EXAMPLES KLU LAPACK MPI OPENMP
OPTIONS_DEFAULT= KLU LAPACK MPI OPENMP
diff --git a/math/sundials/distinfo b/math/sundials/distinfo
index 56a049971741..b0cc1f57effc 100644
--- a/math/sundials/distinfo
+++ b/math/sundials/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1666460608
-SHA256 (sundials-6.4.0.tar.gz) = 3cbf0102c3284dc550a9faf85ace030ca6d02fe70e90afa2d0d8074a098a3948
-SIZE (sundials-6.4.0.tar.gz) = 30316317
+TIMESTAMP = 1666629841
+SHA256 (sundials-6.4.0.tar.gz) = 0aff803a12c6d298d05b56839197dd09858631864017e255ed89e28b49b652f1
+SIZE (sundials-6.4.0.tar.gz) = 89259428