git: 96bcf26b2aa4 - main - math/suitesparse: upgrade to v7.2.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Wed, 20 Sep 2023 17:46:56 UTC
The branch main has been updated by thierry:

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

commit 96bcf26b2aa49fd83d65c180973e33f4ba5dc9d4
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2023-09-18 19:50:50 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2023-09-20 17:44:58 +0000

    math/suitesparse: upgrade to v7.2.0
    
    Release notes at
    <https://github.com/DrTimothyAldenDavis/SuiteSparse/releases/tag/v7.2.0>
---
 math/suitesparse/Makefile           | 2 +-
 math/suitesparse/bsd.suitesparse.mk | 7 ++++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/math/suitesparse/Makefile b/math/suitesparse/Makefile
index 24f1239a9c92..fabd109cddbb 100644
--- a/math/suitesparse/Makefile
+++ b/math/suitesparse/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	suitesparse
-PORTVERSION=	7.1.0
+PORTVERSION=	7.2.0
 CATEGORIES=	math
 
 MAINTAINER=	fortran@FreeBSD.org
diff --git a/math/suitesparse/bsd.suitesparse.mk b/math/suitesparse/bsd.suitesparse.mk
index 0a3d571fcddc..62052de7c8ac 100644
--- a/math/suitesparse/bsd.suitesparse.mk
+++ b/math/suitesparse/bsd.suitesparse.mk
@@ -37,7 +37,7 @@ LIB_DEPENDS+=	libsuitesparseconfig.so:math/suitesparse-config
 OPTIONS_DEFINE+=DEMOS
 .endif
 
-USES+=		cmake:insource
+USES+=		cmake:insource pathfix
 
 DOCSDIR=	${PREFIX}/share/doc/${SSPNAME}
 MAKE_ENV=	JOBS="${MAKE_JOBS_NUMBER}" \
@@ -57,6 +57,10 @@ DISTINFO_FILE=	${.CURDIR}/../../math/suitesparse/distinfo
 OPTIONS_DEFINE+=	DOCS OPTIMIZED_CFLAGS
 OPTIONS_DEFAULT+=	OPTIMIZED_CFLAGS
 
+.if ${MPORTNAME} == config ||	\
+	${MPORTNAME} == CHOLMOD ||	\
+	${MPORTNAME} == SPQR ||	\
+	${MPORTNAME} == UMFPACK
 OPTIONS_RADIO+=		BLAS
 OPTIONS_RADIO_BLAS+=	ATLAS GOTOBLAS NETLIB OPENBLAS
 OPTIONS_DEFAULT+=	OPENBLAS
@@ -66,6 +70,7 @@ GOTOBLAS_DESC=		Goto blas implementation
 GOTOBLAS_USES=		blaslapack:gotoblas
 NETLIB_USES=		blaslapack:netlib
 OPENBLAS_USES=		blaslapack:openblas
+.endif
 
 OPTIONS_DEFINE+=	OPENMP
 OPTIONS_EXCLUDE_aarch64=	OPENMP