<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/6adaa28534dd5403dd261db04b686ddfc6f9aea7">https://github.com/macports/macports-ports/commit/6adaa28534dd5403dd261db04b686ddfc6f9aea7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 6adaa28534dd5403dd261db04b686ddfc6f9aea7
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun Nov 10 14:14:25 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> libraw: disable openmp
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> this is randomly detected based on the build compiler that happens
</span><span style='display:block; white-space:pre;color:#404040;'> to build libraw, but it is not consistent as the compiler that
</span><span style='display:block; white-space:pre;color:#404040;'> uses libraw's pkgconfig files may or may not understand openmp,
</span><span style='display:block; white-space:pre;color:#404040;'> and the openmp link libraries are not specified.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> until this is properly sorted out in MacPorts, disable openmp
</span><span style='display:block; white-space:pre;color:#404040;'> for consistency
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/59610
</span>---
graphics/libraw/Portfile | 3 +++
1 file changed, 3 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/libraw/Portfile b/graphics/libraw/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7e9268e..27ae24c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/libraw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/libraw/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,9 @@ depends_lib port:jasper \
</span> port:jpeg \
port:lcms2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# disable openmp as it is not consistently applicable in MacPorts at present
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.env-append ax_cv_c_openmp=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # don't hardcode a link against libstc++
patchfiles-append patch-libraw-no-libstdcxx.diff
</pre><pre style='margin:0'>
</pre>