git: ccbf2582168a - main - math/sundials: Use tarball (again) provided by the upstream; Correct WWW

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 24 Oct 2022 18:14:55 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ccbf2582168a837e25d133746d59e5037be5ef52

commit ccbf2582168a837e25d133746d59e5037be5ef52
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-10-24 14:24:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-10-24 18:14:53 +0000

    math/sundials: Use tarball (again) provided by the upstream; Correct WWW
    
    Also improve CMAKExx and other lines.
    
    PR:             267285
    Reported by:    diizzy@ (tarball-related)
---
 math/sundials/Makefile | 14 +++++++-------
 math/sundials/distinfo |  6 +++---
 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