aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2023-09-18 19:50:50 +0000
committerThierry Thomas <thierry@FreeBSD.org>2023-09-20 17:44:58 +0000
commit96bcf26b2aa49fd83d65c180973e33f4ba5dc9d4 (patch)
tree07c80c5d07cbd30179555ae333deb511de436187
parent50401202445e90826231446cd59ffdf3a3a33718 (diff)
downloadports-96bcf26b2aa49fd83d65c180973e33f4ba5dc9d4.tar.gz
ports-96bcf26b2aa49fd83d65c180973e33f4ba5dc9d4.zip
math/suitesparse: upgrade to v7.2.0
-rw-r--r--math/suitesparse/Makefile2
-rw-r--r--math/suitesparse/bsd.suitesparse.mk7
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