<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5c93ca6f74434932ebb90b31e1ce83769145c8e5">https://github.com/macports/macports-ports/commit/5c93ca6f74434932ebb90b31e1ce83769145c8e5</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 5c93ca6 SuiteSparse: Use MacPorts CXXFLAGS
</span>5c93ca6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5c93ca6f74434932ebb90b31e1ce83769145c8e5
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Fri Jun 1 01:03:16 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> SuiteSparse: Use MacPorts CXXFLAGS
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This allows the correct C++ standard library to be used.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The build system uses CFLAGS for both C and C++ code and doesn't provide
</span><span style='display:block; white-space:pre;color:#404040;'> a separate variable to use for C++ code, so the flags have to be moved
</span><span style='display:block; white-space:pre;color:#404040;'> into the CC and CXX variables.
</span>---
math/SuiteSparse/Portfile | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/SuiteSparse/Portfile b/math/SuiteSparse/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c38ad28..00589d3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/SuiteSparse/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/SuiteSparse/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup compilers 1.0
</span> name SuiteSparse
epoch 20120107
version 4.2.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 5
</span> categories math science
platforms darwin
maintainers {michaelld @michaelld} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,9 +105,8 @@ use_parallel_build no
</span>
pre-build {
build.args-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- CC="${configure.cc}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CXX="${configure.cxx}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="${configure.cflags}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CC="${configure.cc} ${configure.cflags}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXX="${configure.cxx} ${configure.cxxflags}" \
</span> TARGET_ARCH="[get_canonical_archflags]"
}
</pre><pre style='margin:0'>
</pre>