24 | | variant python25 conflicts python26 description {Use python 2.5 for xcbgen} { |
25 | | depends_run-append port:python25 |
26 | | configure.python ${prefix}/bin/python2.5 |
27 | | } |
28 | | |
29 | | variant python26 conflicts python25 description {Use python 2.6 for xcbgen} { |
30 | | depends_run-append port:python26 |
31 | | configure.python ${prefix}/bin/python2.6 |
32 | | destroot.target-append pythondir=${frameworks_dir}/Python.framework/Versions/2.6/lib/python2.6/site-packages |
33 | | } |
34 | | |
35 | | # Default to 2.6 since 2.5 fails universal for me on Leopard... Ticket #17501 |
36 | | if {![variant_isset python25]} { |
37 | | default_variants +python26 |
38 | | } |
39 | | |