[110398] trunk/dports/python/py-wxpython-2.8/Portfile

mojca at macports.org mojca at macports.org
Fri Aug 30 14:40:59 PDT 2013


Revision: 110398
          https://trac.macports.org/changeset/110398
Author:   mojca at macports.org
Date:     2013-08-30 14:40:58 -0700 (Fri, 30 Aug 2013)
Log Message:
-----------
py-wxpython-2.8: add an explicit dependency on gtk2 and cairo +x11 (#38464)

Modified Paths:
--------------
    trunk/dports/python/py-wxpython-2.8/Portfile

Modified: trunk/dports/python/py-wxpython-2.8/Portfile
===================================================================
--- trunk/dports/python/py-wxpython-2.8/Portfile	2013-08-30 21:30:28 UTC (rev 110397)
+++ trunk/dports/python/py-wxpython-2.8/Portfile	2013-08-30 21:40:58 UTC (rev 110398)
@@ -2,8 +2,9 @@
 # $Id$
 
 PortSystem          1.0
-PortGroup           python      1.0
-PortGroup           wxWidgets   1.0
+PortGroup           active_variants 1.1
+PortGroup           python          1.0
+PortGroup           wxWidgets       1.0
 
 name                py-wxpython-2.8
 version             2.8.12.1
@@ -69,7 +70,13 @@
 
     variant gtk conflicts carbon description {use wxGTK} {
         wxWidgets.use       wxGTK-2.8
-        depends_lib-append  port:${wxWidgets.port}
+        # not sure if/what other dependencies should be listed here
+        depends_lib-append  port:cairo \
+                            port:gtk2 \
+                            port:${wxWidgets.port}
+        require_active_variants cairo x11
+        require_active_variants gtk2  x11
+
         build.cmd           ${python.bin} setup.py WXPORT="gtk2" WX_CONFIG="${wxWidgets.wxconfig}"
         destroot.cmd        ${python.bin} setup.py WXPORT="gtk2" WX_CONFIG="${wxWidgets.wxconfig}"
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130830/d59152bb/attachment-0001.html>


More information about the macports-changes mailing list