git: 8fdca2d47d0e - main - math/mumps: add missing SONAME

From: Thierry Thomas <thierry_at_FreeBSD.org>
Date: Thu, 08 Oct 2026 08:40:32 UTC
The branch main has been updated by thierry:

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

commit 8fdca2d47d0ee0782e5f8aa583c90ea132299f39
Author:     Thierry Thomas <thierry@FreeBSD.org>
AuthorDate: 2026-10-08 08:30:48 +0000
Commit:     Thierry Thomas <thierry@FreeBSD.org>
CommitDate: 2026-10-08 08:30:48 +0000

    math/mumps: add missing SONAME
---
 math/mumps/Makefile                 |  1 +
 math/mumps/files/patch-src_Makefile | 11 +++++++++++
 2 files changed, 12 insertions(+)

diff --git a/math/mumps/Makefile b/math/mumps/Makefile
index e7ff787b5db8..d40193c953b3 100644
--- a/math/mumps/Makefile
+++ b/math/mumps/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	mumps
 PORTVERSION=	5.9.1
+PORTREVISION=	1
 CATEGORIES=	math
 MASTER_SITES=	https://mumps-solver.org/
 DISTNAME=	MUMPS_${PORTVERSION}
diff --git a/math/mumps/files/patch-src_Makefile b/math/mumps/files/patch-src_Makefile
new file mode 100644
index 000000000000..21a48ff27397
--- /dev/null
+++ b/math/mumps/files/patch-src_Makefile
@@ -0,0 +1,11 @@
+--- src/Makefile.orig	2026-07-20 09:00:43 UTC
++++ src/Makefile
+@@ -250,7 +250,7 @@ $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT_SHARED):    
+ 	$(RANLIB) $@
+ 
+ $(libdir)/lib$(ARITH)mumps$(PLAT)$(LIBEXT_SHARED):    $(OBJS_MOD_ARITHDEP) $(OBJS_OTHER) $(libdir)/libmumps_common$(PLAT)$(LIBEXT_SHARED)
+-	$(FC) $(OPTL) $(SHARED_OPT) $(OBJS_MOD_ARITHDEP) $(OBJS_OTHER) -L$(libdir) $(LORDERINGS) $(LIBS) $(LIBOTHERS) -lmumps_common$(PLAT) -o $@ $(RPATH_OPT)
++	$(FC) $(OPTL) $(SHARED_OPT) $(OBJS_MOD_ARITHDEP) $(OBJS_OTHER) -Wl,$(SONAME),lib$(ARITH)mumps$(PLAT)$(LIBEXT_SHARED) -L$(libdir) $(LORDERINGS) $(LIBS) $(LIBOTHERS) -lmumps_common$(PLAT) -o $@ $(RPATH_OPT)
+ 
+ 
+ # Dependencies between modules: