<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/b07ebe39408bf928f96c51cee51080f586a85701">https://github.com/macports/macports-ports/commit/b07ebe39408bf928f96c51cee51080f586a85701</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit b07ebe39408bf928f96c51cee51080f586a85701
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Sat May 18 07:34:28 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> gtk-sharp2: use same variants (x11/quartz) as gtk2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> gtk-sharp2 builds differently depending on how gtk2 is installed.
</span>---
x11/gtk-sharp2/Portfile | 15 +++++++++++++++
1 file changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/gtk-sharp2/Portfile b/x11/gtk-sharp2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 613543a..b7f6e7c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/gtk-sharp2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/gtk-sharp2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup active_variants 1.1
</span>
name gtk-sharp2
set my_name gtk-sharp
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -67,6 +68,20 @@ variant debug description {Enable debug build} {
</span> configure.args-append --enable-debug
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# gtk-sharp2 builds differently depending on how gtk2 is installed
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant x11 conflicts quartz {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant quartz conflicts x11 {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default_variants +x11
</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;'>+if {[variant_isset quartz]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants gtk2 quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants gtk2 x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> livecheck.type regex
livecheck.url ${master_sites}
livecheck.regex ${my_name}-(\\d+(?:\\.\\d+)*)
</pre><pre style='margin:0'>
</pre>