git: 3830c47cc9e1 - main - math/alberta: Fix building with libtool 2.6

Gleb Popov <[email protected]> Tue, 04 Aug 2026 19:38:29 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by arrowd:

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

commit 3830c47cc9e10d59afb0d4b66c3132e67d5b4621
Author:     Gleb Popov <[email protected]>
AuthorDate: 2026-08-04 19:37:12 +0000
Commit:     Gleb Popov <[email protected]>
CommitDate: 2026-08-04 19:37:49 +0000

    math/alberta: Fix building with libtool 2.6
    
    PR:             296964
    Approved by:    portmgr (fixit blanket)
---
 math/alberta/files/patch-Makefile.ams | 66 +++++++++++++++++++++++++++++++++++
 1 file changed, 66 insertions(+)

diff --git a/math/alberta/files/patch-Makefile.ams b/math/alberta/files/patch-Makefile.ams
new file mode 100644
index 000000000000..7637aa69cc16
--- /dev/null
+++ b/math/alberta/files/patch-Makefile.ams
@@ -0,0 +1,66 @@
+--- alberta/src/alberta_1d/Makefile.am.orig	2018-11-12 11:36:13 UTC
++++ alberta/src/alberta_1d/Makefile.am
+@@ -49,7 +49,7 @@ nodist_libalberta_1d_la_SOURCES = $(sources)
+ sources += $(lowdim_sources)
+ 
+ nodist_libalberta_1d_la_SOURCES = $(sources)
+-libalberta_1d_la_LIBADD =
++libalberta_1d_la_LIBADD = -lltdl
+ libalberta_1d_la_CPPFLAGS = \
+  $(CPPFLAGS) -DDIM_OF_WORLD=1 \
+  -DALBERTA_DEBUG=0 \
+--- alberta/src/alberta_1d_debug/Makefile.am.orig	2018-11-12 11:36:13 UTC
++++ alberta/src/alberta_1d_debug/Makefile.am
+@@ -49,7 +49,7 @@ nodist_libalberta_1d_debug_la_SOURCES = $(sources)
+ sources += $(lowdim_sources)
+ 
+ nodist_libalberta_1d_debug_la_SOURCES = $(sources)
+-libalberta_1d_debug_la_LIBADD =
++libalberta_1d_debug_la_LIBADD = -lltdl
+ libalberta_1d_debug_la_CPPFLAGS = \
+  $(CPPFLAGS) -DDIM_OF_WORLD=1 \
+  -DALBERTA_DEBUG=1 \
+--- alberta/src/alberta_2d/Makefile.am.orig	2018-11-12 11:36:13 UTC
++++ alberta/src/alberta_2d/Makefile.am
+@@ -49,7 +49,7 @@ nodist_libalberta_2d_la_SOURCES = $(sources)
+ sources += $(lowdim_sources)
+ 
+ nodist_libalberta_2d_la_SOURCES = $(sources)
+-libalberta_2d_la_LIBADD =
++libalberta_2d_la_LIBADD = -lltdl
+ libalberta_2d_la_CPPFLAGS = \
+  $(CPPFLAGS) -DDIM_OF_WORLD=2 \
+  -DALBERTA_DEBUG=0 \
+--- alberta/src/alberta_2d_debug/Makefile.am.orig	2018-11-12 11:36:13 UTC
++++ alberta/src/alberta_2d_debug/Makefile.am
+@@ -49,7 +49,7 @@ nodist_libalberta_2d_debug_la_SOURCES = $(sources)
+ sources += $(lowdim_sources)
+ 
+ nodist_libalberta_2d_debug_la_SOURCES = $(sources)
+-libalberta_2d_debug_la_LIBADD =
++libalberta_2d_debug_la_LIBADD = -lltdl
+ libalberta_2d_debug_la_CPPFLAGS = \
+  $(CPPFLAGS) -DDIM_OF_WORLD=2 \
+  -DALBERTA_DEBUG=1 \
+--- alberta/src/alberta_3d/Makefile.am.orig	2018-11-12 11:36:13 UTC
++++ alberta/src/alberta_3d/Makefile.am
+@@ -49,7 +49,7 @@ nodist_libalberta_3d_la_SOURCES = $(sources)
+ sources += $(lowdim_sources)
+ 
+ nodist_libalberta_3d_la_SOURCES = $(sources)
+-libalberta_3d_la_LIBADD =
++libalberta_3d_la_LIBADD = -lltdl
+ libalberta_3d_la_CPPFLAGS = \
+  $(CPPFLAGS) -DDIM_OF_WORLD=3 \
+  -DALBERTA_DEBUG=0 \
+--- alberta/src/alberta_3d_debug/Makefile.am.orig	2018-11-12 11:36:13 UTC
++++ alberta/src/alberta_3d_debug/Makefile.am
+@@ -49,7 +49,7 @@ nodist_libalberta_3d_debug_la_SOURCES = $(sources)
+ sources += $(lowdim_sources)
+ 
+ nodist_libalberta_3d_debug_la_SOURCES = $(sources)
+-libalberta_3d_debug_la_LIBADD =
++libalberta_3d_debug_la_LIBADD = -lltdl
+ libalberta_3d_debug_la_CPPFLAGS = \
+  $(CPPFLAGS) -DDIM_OF_WORLD=3 \
+  -DALBERTA_DEBUG=1 \