[71417] trunk/dports/x11/xorg-libxcb/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Sun Sep 12 10:06:02 PDT 2010
Revision: 71417
http://trac.macports.org/changeset/71417
Author: jeremyhu at macports.org
Date: 2010-09-12 10:06:00 -0700 (Sun, 12 Sep 2010)
Log Message:
-----------
Re-add the python variants to fix build problems. Since they're already in xcb-proto, this doesn't aggrevate the existing dependency loop
Modified Paths:
--------------
trunk/dports/x11/xorg-libxcb/Portfile
Modified: trunk/dports/x11/xorg-libxcb/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxcb/Portfile 2010-09-12 16:37:53 UTC (rev 71416)
+++ trunk/dports/x11/xorg-libxcb/Portfile 2010-09-12 17:06:00 UTC (rev 71417)
@@ -26,6 +26,36 @@
port:xorg-xcb-proto \
port:xorg-libpthread-stubs
+variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} {
+ depends_run-append port:python25
+ configure.python ${prefix}/bin/python2.5
+}
+
+variant python26 conflicts python25 python27 python31 python32 description {Use python 2.6} {
+ depends_run-append port:python26
+ configure.python ${prefix}/bin/python2.6
+}
+
+variant python27 conflicts python25 python26 python31 python32 description {Use python 2.7} {
+ depends_run-append port:python27
+ configure.python ${prefix}/bin/python2.7
+}
+
+variant python31 conflicts python25 python26 python27 python32 description {Use python 3.1} {
+ depends_run-append port:python31
+ configure.python ${prefix}/bin/python3.1
+}
+
+variant python32 conflicts python25 python26 python27 python31 description {Use python 3.2} {
+ depends_run-append port:python32
+ configure.python ${prefix}/bin/python3.2
+}
+
+# Default to 2.6 since 2.5 fails universal on Leopard... Ticket #17501
+if {![variant_isset python25] && ![variant_isset python27] && ![variant_isset python31] && ![variant_isset python32]} {
+ default_variants +python26
+}
+
livecheck.type regex
livecheck.url ${master_sites}?C=M&O=D
livecheck.regex libxcb-(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100912/9951419e/attachment.html>
More information about the macports-changes
mailing list