<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/13e176d038688423cbf248a54f9f7ece0833c6f7">https://github.com/macports/macports-ports/commit/13e176d038688423cbf248a54f9f7ece0833c6f7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 13e176d038688423cbf248a54f9f7ece0833c6f7
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Thu Mar 19 09:20:25 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> mumps: avoid dependency on libgcc on i386
</span>---
math/mumps/Portfile | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/mumps/Portfile b/math/mumps/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 50b65ad..4de2877 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/mumps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/mumps/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,7 +7,7 @@ PortGroup muniversal 1.0
</span>
name mumps
version 5.1.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span> categories math
license CeCILL-C
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,6 +56,18 @@ configure.mtune native
</span> configure.cflags-append -fPIC
configure.fflags-append -fPIC
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# when using a non-GCC compiler, avoid:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Undefined symbols for architecture i386:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# "___divmoddi4", referenced from:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# _dmumps_facto_root_ in libdmumps.a(dfac_root_parallel.o)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ld: symbol(s) not found for architecture i386
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://gitlab.haskell.org/ghc/ghc/issues/15094
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lappend merger_configure_fcflags(i386) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -fno-expensive-optimizations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset universal] && ${build_arch} eq "i386"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.fflags-append -fno-expensive-optimizations
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> pre-configure {
configure.env-append MACPORTS_BLAS=${linalglib}
}
</pre><pre style='margin:0'>
</pre>