<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e819c1619614da1443557be7bb9dc67c12848aa3">https://github.com/macports/macports-ports/commit/e819c1619614da1443557be7bb9dc67c12848aa3</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 e819c16 darktable: add +clang40 variant and make default
</span>e819c16 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e819c1619614da1443557be7bb9dc67c12848aa3
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Sun Nov 26 10:54:16 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> darktable: add +clang40 variant and make default
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Avoid build failure on High Sierra by using clang 4.0.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add dependency on desktop-file-utils as update-desktop-database is run
</span><span style='display:block; white-space:pre;color:#404040;'> during port activation.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/55380
</span>---
graphics/darktable/Portfile | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 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 b14b400..e8c69af 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;'>@@ -69,7 +69,8 @@ depends_lib-append port:atk \
</span> port:tiff \
port:zlib
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run port:adwaita-icon-theme
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run port:adwaita-icon-theme \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:desktop-file-utils
</span>
require_active_variants gtk3 quartz
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -117,13 +118,21 @@ universal_variant no
</span> # configure.compiler macports-gcc-5
# }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-variant clang39 description {Build with clang 3.9 to enable OpenMP for speed} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant clang39 conflicts clang40 description {Build with clang 3.9 to enable OpenMP for speed} {
</span> depends_lib-append port:clang-3.9
configure.args-replace -DUSE_OPENMP=OFF -DUSE_OPENMP=ON
configure.compiler macports-clang-3.9
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default_variants +clang39
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# See https://trac.macports.org/ticket/55380
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# High Sierra build fails with clang-3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant clang40 conflicts clang39 description {Build with clang 4.0 to enable OpenMP for speed} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:clang-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-replace -DUSE_OPENMP=OFF -DUSE_OPENMP=ON
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.compiler macports-clang-4.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+default_variants +clang40
</span>
notes "
</pre><pre style='margin:0'>
</pre>