<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/dcb2ab56781b1e82c33c6adf3080094bddb4863b">https://github.com/macports/macports-ports/commit/dcb2ab56781b1e82c33c6adf3080094bddb4863b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit dcb2ab56781b1e82c33c6adf3080094bddb4863b
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sun Nov 11 12:54:15 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> darktable: get OpenMP with one (non-default) variant
</span>---
graphics/darktable/Portfile | 31 ++++++-------------------------
1 file changed, 6 insertions(+), 25 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/darktable/Portfile b/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c3b82d2..78ea10b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/darktable/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -9,7 +9,7 @@ PortGroup cxx11 1.1
</span> PortGroup conflicts_build 1.0
github.setup darktable-org darktable 2.2.5 release-
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span>
github.tarball_from releases
use_xz yes
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -114,33 +114,14 @@ app.icon packaging/macosx/Icons.icns
</span>
universal_variant no
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# With gcc5 or gcc6, tries to build src/osx/osx.mm with gcc which results
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# in a cascade of errors. Leave disabled until a solution is found
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# variant gcc5 description {Build with gcc5 to enable OpenMP for speed} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# depends_lib-append port:gcc5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.args-replace -DUSE_OPENMP=OFF -DUSE_OPENMP=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# configure.compiler macports-gcc-5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang39 conflicts clang40 description {Build with clang 3.9 to enable OpenMP for speed} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-replace -DUSE_OPENMP=OFF -DUSE_OPENMP=ON
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# See https://trac.macports.org/ticket/55380
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# High Sierra build fails with clang-3.9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang40 conflicts clang39 description {Build with clang 4.0 to enable OpenMP for speed} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- depends_lib-append port:clang-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# compiling src/osx/osx.mm with GCC results in a cascade of errors
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant openmp description {enable support for OpenMP} {
</span> configure.args-replace -DUSE_OPENMP=OFF -DUSE_OPENMP=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.compiler macports-clang-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.whitelist macports-clang-7.0 macports-clang-6.0 macports-clang-5.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ macports-clang-4.0 macports-clang-3.9 macports-clang-3.7
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ compiler.fallback macports-clang-7.0
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {![variant_isset clang39]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- default_variants +clang40
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> notes "
Online documentation for ${name} is at:
http://www.darktable.org/usermanual/index.html.php
</pre><pre style='margin:0'>
</pre>