<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/17fa5748e21ceeb8e7baaa99cda10d9f52193fb7">https://github.com/macports/macports-ports/commit/17fa5748e21ceeb8e7baaa99cda10d9f52193fb7</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 17fa5748e21ceeb8e7baaa99cda10d9f52193fb7
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Wed Mar 20 15:27:46 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> pcb: add support for gtk2 with +quartz variant
</span>---
x11/pcb/Portfile | 14 ++++++++++++++
1 file changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/pcb/Portfile b/x11/pcb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8f55be1..a1e3901 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/pcb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/pcb/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:ft=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 pcb
epoch 1
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -77,3 +78,16 @@ variant docs description {build documentation} {
</span> configure.args-delete --disable-doc
}
default_variants +docs
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+variant quartz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-delete port:libGLU \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:mesa
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-x=no
</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 port:gtk2 quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants port:gtkglext 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 port:gtk2 x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ require_active_variants port:gtkglext "" quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span></pre><pre style='margin:0'>
</pre>