From 7874aed7499c0f7e3a64ab2357ac9108d9e2f79f Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Mon, 14 Nov 2022 17:47:14 +0100 Subject: [PATCH] math/suitesparse-colamd: upgrade to 3.0.0 PR: 267742 --- math/suitesparse-colamd/Makefile | 9 +++++++-- .../files/patch-COLAMD_Demo_Makefile | 10 ---------- math/suitesparse-colamd/pkg-plist | 6 ++++-- 3 files changed, 11 insertions(+), 14 deletions(-) delete mode 100644 math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile diff --git a/math/suitesparse-colamd/Makefile b/math/suitesparse-colamd/Makefile index 76c5d3c821cd..d3580e91d434 100644 --- a/math/suitesparse-colamd/Makefile +++ b/math/suitesparse-colamd/Makefile @@ -1,5 +1,5 @@ PORTNAME= ${MPORTNAME:tl} -PORTVERSION= 2.9.6 +PORTVERSION= 3.0.0 CATEGORIES= math COMMENT= Column approximate minimum degree ordering algorithm @@ -8,10 +8,15 @@ WWW= https://faculty.cse.tamu.edu/davis/suitesparse.html LICENSE= BSD3CLAUSE USES= localbase:ldflags -OMP_NEEDED= yes MPORTNAME= COLAMD USE_LDCONFIG= yes .include "${.CURDIR}/../../math/suitesparse/bsd.suitesparse.mk" + +post-stage-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${BUILD_WRKSRC}/README.txt \ + ${STAGEDIR}${DOCSDIR}/${MPORTNAME}_README.txt + .include diff --git a/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile b/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile deleted file mode 100644 index 8472a58a100c..000000000000 --- a/math/suitesparse-colamd/files/patch-COLAMD_Demo_Makefile +++ /dev/null @@ -1,10 +0,0 @@ ---- COLAMD/Demo/Makefile.orig 2021-05-21 20:12:41 UTC -+++ COLAMD/Demo/Makefile -@@ -15,7 +15,6 @@ LIB2 = $(LDFLAGS) -L../../lib -lcolamd -lsuitesparseco - all: library colamd_example colamd_l_example - - library: -- ( cd ../../SuiteSparse_config ; $(MAKE) ) - ( cd ../Lib ; $(MAKE) ) - - #------------------------------------------------------------------------------ diff --git a/math/suitesparse-colamd/pkg-plist b/math/suitesparse-colamd/pkg-plist index 0b84a4534363..5f446775fae8 100644 --- a/math/suitesparse-colamd/pkg-plist +++ b/math/suitesparse-colamd/pkg-plist @@ -1,5 +1,7 @@ include/suitesparse/colamd.h +lib/cmake/SuiteSparse/FindCOLAMD.cmake +lib/libcolamd.a lib/libcolamd.so -lib/libcolamd.so.2 -lib/libcolamd.so.2.9.6 +lib/libcolamd.so.3 +lib/libcolamd.so.3.0.0 %%PORTDOCS%%%%DOCSDIR%%/COLAMD_README.txt