git: b4c47d13d808 - main - math/suitesparse-ldl: upgrade to 3.0.0

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Sun, 27 Nov 2022 11:10:18 UTC
The branch main has been updated by thierry:

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

commit b4c47d13d808280eb0fc66e755aabfebf5d11c54
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2022-11-14 17:09:42 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2022-11-27 11:09:55 +0000

    math/suitesparse-ldl: upgrade to 3.0.0
    
    PR:             267742
---
 math/suitesparse-ldl/Makefile                      | 11 +++++++++--
 math/suitesparse-ldl/files/patch-LDL_Demo_Makefile | 11 -----------
 math/suitesparse-ldl/pkg-plist                     |  6 ++++--
 3 files changed, 13 insertions(+), 15 deletions(-)

diff --git a/math/suitesparse-ldl/Makefile b/math/suitesparse-ldl/Makefile
index e894271831c7..ee6e1126b900 100644
--- a/math/suitesparse-ldl/Makefile
+++ b/math/suitesparse-ldl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	${MPORTNAME:tl}
-PORTVERSION=	2.2.6
+PORTVERSION=	3.0.0
 CATEGORIES=	math
 
 COMMENT=	Simple LDL^T factorization
@@ -10,10 +10,17 @@ LICENSE=	LGPL21+
 LIB_DEPENDS=	libamd.so:math/suitesparse-amd
 
 USES=		localbase:ldflags
-OMP_NEEDED=	yes
 
 MPORTNAME=	LDL
 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
+	${INSTALL_DATA} ${BUILD_WRKSRC}/Doc/ldl_userguide.pdf	\
+		${STAGEDIR}${DOCSDIR}
+
 .include <bsd.port.post.mk>
diff --git a/math/suitesparse-ldl/files/patch-LDL_Demo_Makefile b/math/suitesparse-ldl/files/patch-LDL_Demo_Makefile
deleted file mode 100644
index 900ca6f81081..000000000000
--- a/math/suitesparse-ldl/files/patch-LDL_Demo_Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
---- LDL/Demo/Makefile.orig	2021-05-17 01:04:52 UTC
-+++ LDL/Demo/Makefile
-@@ -16,8 +16,6 @@ LIB2 = $(LDFLAGS) -L../../lib -lldl -lamd -lsuitespars
- 
- library:
- 	( cd ../Lib ; $(MAKE) )
--	( cd ../../SuiteSparse_config ; $(MAKE) )
--	( cd ../../AMD ; $(MAKE) )
- 
- #-------------------------------------------------------------------------------
- # stand-alone C programs:
diff --git a/math/suitesparse-ldl/pkg-plist b/math/suitesparse-ldl/pkg-plist
index 4c7f42a57578..8e963492dbd2 100644
--- a/math/suitesparse-ldl/pkg-plist
+++ b/math/suitesparse-ldl/pkg-plist
@@ -1,6 +1,8 @@
 include/suitesparse/ldl.h
+lib/cmake/SuiteSparse/FindLDL.cmake
+lib/libldl.a
 lib/libldl.so
-lib/libldl.so.2
-lib/libldl.so.2.2.6
+lib/libldl.so.3
+lib/libldl.so.3.0.0
 %%PORTDOCS%%%%DOCSDIR%%/LDL_README.txt
 %%PORTDOCS%%%%DOCSDIR%%/ldl_userguide.pdf