<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/efe35a4a0f0819b52f6a987917c48404938da269">https://github.com/macports/macports-ports/commit/efe35a4a0f0819b52f6a987917c48404938da269</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit efe35a4a0f0819b52f6a987917c48404938da269
</span>Author: Ken Cunningham <ken.cunningham.webuse@gmail.com>
AuthorDate: Mon Dec 21 11:36:30 2020 -0800
<span style='display:block; white-space:pre;color:#404040;'> ngspice: spec openmp with current base
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> the way openmp was specified changed last year
</span><span style='display:block; white-space:pre;color:#404040;'> with a new release of base
</span>---
science/ngspice/Portfile | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/ngspice/Portfile b/science/ngspice/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index aea2b4257f2..da7957ed318 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/ngspice/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/ngspice/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,16 +61,10 @@ if {${name} eq ${subport}} {
</span> }
variant openmp description {Add OpenMP support variant} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:libomp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ngspice does not specify what openmp version they require
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # version 2.5 is the least strict, and works
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.openmp_version 2.5
</span> configure.args-append --enable-openmp
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.whitelist macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-clang-3.7 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-8 macports-gcc-7 macports-gcc-6 macports-gcc-5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-4.8 macports-gcc-4.7 macports-gcc-4.6 macports-gcc-4.5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- macports-gcc-4.4 macports-gcc-4.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.fallback macports-clang-7.0
</span> }
default_variants +openmp +manual
</pre><pre style='margin:0'>
</pre>