<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/a5432402b28a1b24c151d1912efb5d566e2e18ea">https://github.com/macports/macports-ports/commit/a5432402b28a1b24c151d1912efb5d566e2e18ea</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a5432402b28a1b24c151d1912efb5d566e2e18ea
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Apr 21 06:42:43 2021 -0700
<span style='display:block; white-space:pre;color:#404040;'> netgen: ensure C compiler is valid
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> This is not strictly necessary.
</span><span style='display:block; white-space:pre;color:#404040;'> The C compiler is not used.
</span><span style='display:block; white-space:pre;color:#404040;'> However, the C compiler is checked.
</span><span style='display:block; white-space:pre;color:#404040;'> This causes an error if "Using the Right Compiler" is being tested.
</span><span style='display:block; white-space:pre;color:#404040;'> See https://trac.macports.org/wiki/UsingTheRightCompiler#testing
</span>---
math/netgen/Portfile | 3 ++-
math/netgen/files/patch-propagate_c_compiler.diff | 15 +++++++++++++++
2 files changed, 17 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/netgen/Portfile b/math/netgen/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5172ab31104..f1f358fec21 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/netgen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/netgen/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,7 +38,8 @@ patchfiles-append patch-no-external.diff \
</span> patch-no-pybind.diff \
patch-link-ng.diff \
patch-CMakeLists.txt.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-no-console.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-no-console.diff \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-propagate_c_compiler.diff
</span>
depends_lib-append port:zlib \
port:tcl \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/netgen/files/patch-propagate_c_compiler.diff b/math/netgen/files/patch-propagate_c_compiler.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..cc0db6151fc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/netgen/files/patch-propagate_c_compiler.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This is not strictly necessary.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+The C compiler is not used.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+However, the C compiler is checked.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+This causes an error if "Using the Right Compiler" is being tested (https://trac.macports.org/wiki/UsingTheRightCompiler#testing).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/SuperBuild.cmake.orig 2021-04-21 06:22:23.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/SuperBuild.cmake 2021-04-21 06:26:33.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -112,6 +112,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #######################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # propagate cmake variables to Netgen subproject
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_vars( NETGEN_CMAKE_ARGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CMAKE_C_COMPILER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMAKE_CXX_COMPILER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMAKE_BUILD_TYPE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CMAKE_SHARED_LINKER_FLAGS
</span></pre><pre style='margin:0'>
</pre>