<pre style='margin:0'>
Clemens Lang (neverpanic) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/93c8f32d81788197a86fbfb2e02249332d9e6e0f">https://github.com/macports/macports-ports/commit/93c8f32d81788197a86fbfb2e02249332d9e6e0f</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 93c8f32d817 spice-gtk: Fix +quartz variant
</span>93c8f32d817 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 93c8f32d81788197a86fbfb2e02249332d9e6e0f
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Wed Mar 8 10:21:24 2023 +0100
<span style='display:block; white-space:pre;color:#404040;'> spice-gtk: Fix +quartz variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The +quartz variant can currently not be used if gtk3 is not installed:
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> ```
</span><span style='display:block; white-space:pre;color:#404040;'> $ port info -- +quartz
</span><span style='display:block; white-space:pre;color:#404040;'> Error: spice-gtk: Variant quartz conflicts with x11
</span><span style='display:block; white-space:pre;color:#404040;'> Error: Unable to open port: Error evaluating variants
</span><span style='display:block; white-space:pre;color:#404040;'> ```
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix this by only enabling +x11 as the default variant if no conflicting
</span><span style='display:block; white-space:pre;color:#404040;'> variant is explicitly requested.
</span>---
gnome/spice-gtk/Portfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gnome/spice-gtk/Portfile b/gnome/spice-gtk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index fb049a16c76..f6814f95e30 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gnome/spice-gtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gnome/spice-gtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -82,6 +82,6 @@ variant x11 conflicts quartz {
</span>
if {![catch {set result [active_variants gtk3 quartz x11]}] && $result} {
default_variants +quartz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} elseif {![variant_isset quartz]} {
</span> default_variants +x11
}
</pre><pre style='margin:0'>
</pre>