<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c77367a78b7bdb647f769d939da3dd243d330aef">https://github.com/macports/macports-ports/commit/c77367a78b7bdb647f769d939da3dd243d330aef</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 c77367a78b7 gmic: check for os.platform
</span>c77367a78b7 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c77367a78b7bdb647f769d939da3dd243d330aef
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Sat Apr 15 05:57:45 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> gmic: check for os.platform
</span>---
science/gmic/Portfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gmic/Portfile b/science/gmic/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 026322925cd..b841f544434 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gmic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gmic/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -250,7 +250,7 @@ if {${subport} eq ${name}} {
</span>
require_active_variants ${name} x11
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 12} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 12} {
</span> pre-fetch {
ui_error "${subport} @${version} requires at least OS X 10.8 Mountain Lion"
return -code error "incompatible OS X version"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -258,7 +258,7 @@ if {${subport} eq ${name}} {
</span> known_fail yes
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.major} < 17} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${os.platform} eq "darwin" && ${os.major} < 17} {
</span> # cmake test for openmp can't be disabled by switch
patchfiles-append patch-gmic-qt-CMakeLists.txt.diff
}
</pre><pre style='margin:0'>
</pre>