<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e132ff4fba6cec123cdb2e197427af0072895ca9">https://github.com/macports/macports-ports/commit/e132ff4fba6cec123cdb2e197427af0072895ca9</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e132ff4fba6 lis: fix build with +mpich
</span>e132ff4fba6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e132ff4fba6cec123cdb2e197427af0072895ca9
</span>Author: tenomoto <takeshi@macports.org>
AuthorDate: Fri Jun 25 11:12:57 2021 +0900
<span style='display:block; white-space:pre;color:#404040;'> lis: fix build with +mpich
</span>---
math/lis/Portfile | 8 ++------
math/lis/files/patch-src-Makefile.in.diff | 21 +++++++++++++++++++++
2 files changed, 23 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/lis/Portfile b/math/lis/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e638d0266a7..1399d22fe79 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/lis/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/lis/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,7 +30,8 @@ compilers.allow_arguments_mismatch \
</span> yes
# respect MacPorts compiler
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles-append patch-compiler.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-compiler.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-src-Makefile.in.diff
</span>
# configure script sets optimization flag
configure.optflags-delete -Os
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -41,11 +42,6 @@ configure.args-append \
</span> --enable-complex \
--enable-saamg
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset gfortran]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- set gccPort [fortran_depends_port_name ${compilers.gcc_default}]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.ldflags-append -L${prefix}/lib/${gccPort} -lgfortran
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {[mpi_variant_isset]} {
configure.args-append \
--enable-mpi
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/lis/files/patch-src-Makefile.in.diff b/math/lis/files/patch-src-Makefile.in.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e031ce16633
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/lis/files/patch-src-Makefile.in.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/Makefile.in.orig 2021-01-24 11:48:49.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/Makefile.in 2021-06-25 11:01:00.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,6 +116,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(LDFLAGS) -o $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++LINKF = $(LIBTOOL) --tag=FC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ --mode=link $(FC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(LDFLAGS) -o $@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ SOURCES = $(liblis@LIBSUFFIX@_la_SOURCES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DIST_SOURCES = $(liblis@LIBSUFFIX@_la_SOURCES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -387,7 +390,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ rm -f "$${dir}/so_locations"; \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ liblis@LIBSUFFIX@.la: $(liblis@LIBSUFFIX@_la_OBJECTS) $(liblis@LIBSUFFIX@_la_DEPENDENCIES) $(EXTRA_liblis@LIBSUFFIX@_la_DEPENDENCIES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $(LINK) -rpath $(libdir) $(liblis@LIBSUFFIX@_la_OBJECTS) $(liblis@LIBSUFFIX@_la_LIBADD) $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $(LINKF) -rpath $(libdir) $(liblis@LIBSUFFIX@_la_OBJECTS) $(liblis@LIBSUFFIX@_la_LIBADD) $(LIBS)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ mostlyclean-compile:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -rm -f *.$(OBJEXT)
</span></pre><pre style='margin:0'>
</pre>