git: 843685e425b7 - main - math/coin-or-mumps: Update 1.6.3 -> 3.0.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 27 Feb 2022 20:00:07 UTC
The branch main has been updated by yuri:

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

commit 843685e425b76abb90eea357430ea6b25ced0a3f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-02-27 19:58:59 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-02-27 19:59:59 +0000

    math/coin-or-mumps: Update 1.6.3 -> 3.0.2
---
 math/clp/Makefile            |  1 +
 math/coin-or-mumps/Makefile  | 11 ++++++-----
 math/coin-or-mumps/distinfo  | 10 +++++-----
 math/coin-or-mumps/pkg-plist | 13 +++++++------
 math/ipopt/Makefile          |  1 +
 5 files changed, 20 insertions(+), 16 deletions(-)

diff --git a/math/clp/Makefile b/math/clp/Makefile
index fa0be5a1be93..17a41f32c9cc 100644
--- a/math/clp/Makefile
+++ b/math/clp/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	Clp
 DISTVERSION=	1.17.6
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://www.coin-or.org/download/source/${PORTNAME}/
 PKGNAMEPREFIX=	coin-or-
diff --git a/math/coin-or-mumps/Makefile b/math/coin-or-mumps/Makefile
index b0b8f85dec0f..8f1a8fd15f62 100644
--- a/math/coin-or-mumps/Makefile
+++ b/math/coin-or-mumps/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	mumps
 DISTVERSIONPREFIX=	releases/
-DISTVERSION=	1.6.3
+DISTVERSION=	3.0.2
 CATEGORIES=	math
 MASTER_SITES=	http://mumps.enseeiht.fr/:mumps
 PKGNAMEPREFIX=	coin-or-
@@ -12,7 +12,8 @@ COMMENT=	COIN-OR autotools harness to build Mumps
 LICENSE=	EPL
 
 LIB_DEPENDS=	libblas.so:math/blas \
-		libcoinmetis.so:math/coin-or-metis
+		libcoinmetis.so:math/coin-or-metis \
+		liblapack.so:math/lapack
 
 USES=		fortran gmake libtool pkgconfig
 USE_LDCONFIG=	yes
@@ -25,7 +26,7 @@ GNU_CONFIGURE=	yes
 
 INSTALL_TARGET=	install-strip
 
-MUMPS_VERSION=	4.10.0 # from the script get.Mumps
+MUMPS_VERSION=	5.4.1 # from the script get.Mumps
 
 .include <bsd.port.pre.mk>
 
@@ -40,8 +41,8 @@ post-extract: # link MUMPS into the location in the tree
 
 pre-build: # patching from get.Mumps
 	@cd ${WRKSRC} && \
-		${PATCH} -p0 < mumps.patch && \
 		${PATCH} -p0 < mumps_mpi.patch && \
-		${MV} MUMPS/libseq/mpi.h MUMPS/libseq/mumps_mpi.h
+		${MV} MUMPS/libseq/mpi.h MUMPS/libseq/mumps_mpi.h && \
+		${PATCH} -p0 < mumps_dump.patch
 
 .include <bsd.port.post.mk>
diff --git a/math/coin-or-mumps/distinfo b/math/coin-or-mumps/distinfo
index f007decca5d9..e3f6dc428acc 100644
--- a/math/coin-or-mumps/distinfo
+++ b/math/coin-or-mumps/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1645642530
-SHA256 (MUMPS_4.10.0.tar.gz) = d0f86f91a74c51a17a2ff1be9c9cee2338976f13a6d00896ba5b43a5ca05d933
-SIZE (MUMPS_4.10.0.tar.gz) = 2481516
-SHA256 (coin-or-tools-ThirdParty-Mumps-releases-1.6.3_GH0.tar.gz) = c66a2e77c601e8e094c6b71c1b13d015745481afb286e5776bb4379e241168c8
-SIZE (coin-or-tools-ThirdParty-Mumps-releases-1.6.3_GH0.tar.gz) = 269165
+TIMESTAMP = 1645990832
+SHA256 (MUMPS_5.4.1.tar.gz) = 93034a1a9fe0876307136dcde7e98e9086e199de76f1c47da822e7d4de987fa8
+SIZE (MUMPS_5.4.1.tar.gz) = 4027725
+SHA256 (coin-or-tools-ThirdParty-Mumps-releases-3.0.2_GH0.tar.gz) = d63e8b1cc585ffcaed574e31c3dbb729845fc35e89482c50fe7f7c23f7c56c41
+SIZE (coin-or-tools-ThirdParty-Mumps-releases-3.0.2_GH0.tar.gz) = 296269
diff --git a/math/coin-or-mumps/pkg-plist b/math/coin-or-mumps/pkg-plist
index 014b4b648744..78b18c5dbe7f 100644
--- a/math/coin-or-mumps/pkg-plist
+++ b/math/coin-or-mumps/pkg-plist
@@ -1,8 +1,9 @@
-include/coin/ThirdParty/dmumps_c.h
-include/coin/ThirdParty/mumps_c_types.h
-include/coin/ThirdParty/mumps_compat.h
-include/coin/ThirdParty/mumps_mpi.h
+include/coin-or/mumps/dmumps_c.h
+include/coin-or/mumps/mumps_c_types.h
+include/coin-or/mumps/mumps_compat.h
+include/coin-or/mumps/mumps_int_def.h
+include/coin-or/mumps/mumps_mpi.h
 lib/libcoinmumps.so
-lib/libcoinmumps.so.1
-lib/libcoinmumps.so.1.6.3
+lib/libcoinmumps.so.3
+lib/libcoinmumps.so.3.0.1
 libdata/pkgconfig/coinmumps.pc
diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile
index 13b98103f777..5489c19225de 100644
--- a/math/ipopt/Makefile
+++ b/math/ipopt/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	Ipopt
 DISTVERSION=	3.14.4
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://www.coin-or.org/download/source/${PORTNAME}/