git: 9184eaa45e37 - main - math/coin-or-mumps: Fix dead URL for MUMPS; Update MUMPS to 5.5.0

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Wed, 23 Nov 2022 08:29:41 UTC
The branch main has been updated by yuri:

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

commit 9184eaa45e376e2d04f61907d0a7451613bee12e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-11-23 08:27:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-11-23 08:29:36 +0000

    math/coin-or-mumps: Fix dead URL for MUMPS; Update MUMPS to 5.5.0
    
    PR:             267936
    Reported by:    diizzy@ (dead URL)
---
 math/coin-or-mumps/Makefile | 9 ++++++---
 math/coin-or-mumps/distinfo | 6 +++---
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/math/coin-or-mumps/Makefile b/math/coin-or-mumps/Makefile
index c274e450f0bb..eb1fa58b62e9 100644
--- a/math/coin-or-mumps/Makefile
+++ b/math/coin-or-mumps/Makefile
@@ -1,8 +1,9 @@
 PORTNAME=	mumps
 DISTVERSIONPREFIX=	releases/
 DISTVERSION=	3.0.3
+PORTREVISION=	1
 CATEGORIES=	math
-MASTER_SITES=	http://mumps.enseeiht.fr/:mumps
+MASTER_SITES=	http://coin-or-tools.github.io/ThirdParty-Mumps/:mumps
 PKGNAMEPREFIX=	coin-or-
 DISTFILES=	MUMPS_${MUMPS_VERSION}.tar.gz:mumps
 
@@ -25,9 +26,11 @@ GH_PROJECT=	ThirdParty-Mumps
 
 GNU_CONFIGURE=	yes
 
+MAKE_JOBS_UNSAFE=	yes # otherwise build doesn't find some *.mod files
+
 INSTALL_TARGET=	install-strip
 
-MUMPS_VERSION=	5.4.1 # from the script get.Mumps
+MUMPS_VERSION=	5.5.0 # from the script get.Mumps
 
 .include <bsd.port.pre.mk>
 
@@ -40,7 +43,7 @@ FFLAGS+=	-fallow-argument-mismatch
 post-extract: # link MUMPS into the location in the tree
 	@cd ${WRKSRC} && ${LN} -s ${WRKDIR}/MUMPS_${MUMPS_VERSION} MUMPS
 
-pre-build: # patching from get.Mumps
+post-patch: # patching from get.Mumps
 	@cd ${WRKSRC} && \
 		${PATCH} -p0 < mumps_mpi.patch && \
 		${MV} MUMPS/libseq/mpi.h MUMPS/libseq/mumps_mpi.h
diff --git a/math/coin-or-mumps/distinfo b/math/coin-or-mumps/distinfo
index 396dc5d5f533..3d26b5337361 100644
--- a/math/coin-or-mumps/distinfo
+++ b/math/coin-or-mumps/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1662331865
-SHA256 (MUMPS_5.4.1.tar.gz) = 93034a1a9fe0876307136dcde7e98e9086e199de76f1c47da822e7d4de987fa8
-SIZE (MUMPS_5.4.1.tar.gz) = 4027725
+TIMESTAMP = 1669191120
+SHA256 (MUMPS_5.5.0.tar.gz) = e54d17c5e42a36c40607a03279e0704d239d71d38503aab68ef3bfe0a9a79c13
+SIZE (MUMPS_5.5.0.tar.gz) = 4227467
 SHA256 (coin-or-tools-ThirdParty-Mumps-releases-3.0.3_GH0.tar.gz) = 0f56566890917751691f2b633b17765acc77e0a2205ce034dc3e362aa69b118a
 SIZE (coin-or-tools-ThirdParty-Mumps-releases-3.0.3_GH0.tar.gz) = 295973