[47334] trunk/dports/x11/xorg-libxcb/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Wed Feb 25 19:18:57 PST 2009
Revision: 47334
http://trac.macports.org/changeset/47334
Author: jeremyhu at macports.org
Date: 2009-02-25 19:18:56 -0800 (Wed, 25 Feb 2009)
Log Message:
-----------
xorg-libxcb: Add python variants to address #18617
Modified Paths:
--------------
trunk/dports/x11/xorg-libxcb/Portfile
Modified: trunk/dports/x11/xorg-libxcb/Portfile
===================================================================
--- trunk/dports/x11/xorg-libxcb/Portfile 2009-02-26 03:05:21 UTC (rev 47333)
+++ trunk/dports/x11/xorg-libxcb/Portfile 2009-02-26 03:18:56 UTC (rev 47334)
@@ -29,6 +29,26 @@
livecheck.url ${master_sites}?C=M&O=D
livecheck.regex libxcb-(\\d+(?:\\.\\d+)*)
+variant python25 conflicts python26 python30 description {Use python 2.5} {
+ depends_run-append port:python25
+ configure.python ${prefix}/bin/python2.5
+}
+
+variant python26 conflicts python25 python30 description {Use python 2.6} {
+ depends_run-append port:python26
+ configure.python ${prefix}/bin/python2.6
+}
+
+variant python30 conflicts python25 python26 description {Use python 3.0} {
+ depends_run-append port:python30
+ configure.python ${prefix}/bin/python3.0
+}
+
+# Default to 2.6 since 2.5 fails universal for me on Leopard... Ticket #17501
+if {![variant_isset python25] && ![variant_isset python30]} {
+ default_variants +python26
+}
+
variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
if { [file exists ${x11prefix}/lib/libxcb.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
depends_build
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090225/f7402877/attachment.html>
More information about the macports-changes
mailing list