[129111] trunk/dports/python/py-cairo/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Fri Dec 5 12:22:55 PST 2014


Revision: 129111
          https://trac.macports.org/changeset/129111
Author:   jeremyhu at macports.org
Date:     2014-12-05 12:22:55 -0800 (Fri, 05 Dec 2014)
Log Message:
-----------
py-cairo: Remove x11/quartz active variant logic since it doesn't matter to the python module (#38606)

Modified Paths:
--------------
    trunk/dports/python/py-cairo/Portfile

Modified: trunk/dports/python/py-cairo/Portfile
===================================================================
--- trunk/dports/python/py-cairo/Portfile	2014-12-05 19:41:03 UTC (rev 129110)
+++ trunk/dports/python/py-cairo/Portfile	2014-12-05 20:22:55 UTC (rev 129111)
@@ -3,7 +3,6 @@
 
 PortSystem              1.0
 PortGroup               python 1.0
-PortGroup               active_variants 1.1
 
 name                    py-cairo
 set my_name             pycairo
@@ -57,18 +56,6 @@
         }
     }
 
-    variant x11 {
-        require_active_variants path:lib/pkgconfig/cairo.pc:cairo x11 quartz
-    }
-
-    if {![catch {set result [active_variants path:lib/pkgconfig/cairo.pc:cairo x11 quartz]}]} {
-        if {$result} {
-            default_variants +x11
-        }
-    } else {
-        default_variants +x11
-    }
-
     if {${python.version} >= 31} {
         post-destroot {
             ln -s ${python.prefix}/include/pycairo/py3cairo.h ${destroot}${python.prefix}/include/pycairo/pycairo.h
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141205/a9903f19/attachment.html>


More information about the macports-changes mailing list