<pre style='margin:0'>
Sean Farley (seanfarley) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bf7b83422a120fbf2cd1c1b755ea048d27b03b8e">https://github.com/macports/macports-ports/commit/bf7b83422a120fbf2cd1c1b755ea048d27b03b8e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bf7b83422a120fbf2cd1c1b755ea048d27b03b8e
</span>Author: Sean Farley <sean@macports.org>
AuthorDate: Tue Dec 12 00:01:01 2017 -0800

<span style='display:block; white-space:pre;color:#404040;'>    py-cairo: add +x11 and +quartz variants
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Hopefully, this will fix the linking error once and for all.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Fixes: https://trac.macports.org/ticket/51957
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/55497
</span>---
 python/py-cairo/Portfile | 23 +++++++++++++++++++----
 1 file changed, 19 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/python/py-cairo/Portfile b/python/py-cairo/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7761e76..bca1cc5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/python/py-cairo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/python/py-cairo/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,15 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:fenc=utf-8::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> PortGroup               github 1.0
 PortGroup               python 1.0
 
 github.setup            pygobject pycairo 1.15.4 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# uncomment when upgrading to next version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# github.tarball_from     releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                2
</span> name                    py-cairo
 categories-append       graphics
 license                 {LGPL-2.1 MPL-1.1}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,13 +24,24 @@ checksums               rmd160  16ce1ad969a9fb06f8f28a7b07495b738d1af22f \
</span> 
 python.versions         27 34 35 36
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# prevent precompiled binaries; see https://trac.macports.org/ticket/51957
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-archive_sites
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> if {${name} ne ${subport}} {
     depends_build           port:pkgconfig
     depends_lib-append      path:lib/pkgconfig/cairo.pc:cairo
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    variant quartz {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants cairo quartz
</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;'>+    variant x11 {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        require_active_variants cairo 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;'>+    default_variants +quartz
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[catch {set result [active_variants cairo x11]}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        default_variants-append +x11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     post-extract {
         fs-traverse item ${worksrcpath} {
             if {[file isdirectory ${item}]} {
</pre><pre style='margin:0'>

</pre>