Changeset 47334


Ignore:
Timestamp:
Feb 26, 2009, 3:18:56 AM (8 years ago)
Author:
jeremyhu@…
Message:

xorg-libxcb: Add python variants to address #18617

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/xorg-libxcb/Portfile

    r46926 r47334  
    3030livecheck.regex libxcb-(\\d+(?:\\.\\d+)*)
    3131
     32variant python25 conflicts python26 python30 description {Use python 2.5} {
     33    depends_run-append      port:python25
     34    configure.python        ${prefix}/bin/python2.5
     35}
     36
     37variant python26 conflicts python25 python30 description {Use python 2.6} {
     38    depends_run-append      port:python26
     39    configure.python        ${prefix}/bin/python2.6
     40}
     41
     42variant python30 conflicts python25 python26 description {Use python 3.0} {
     43    depends_run-append      port:python30
     44    configure.python        ${prefix}/bin/python3.0
     45}
     46
     47# Default to 2.6 since 2.5 fails universal for me on Leopard... Ticket #17501
     48if {![variant_isset python25] && ![variant_isset python30]} {
     49    default_variants +python26
     50}
     51
    3252variant system_x11 description {Install a stub package to use the system X11 libraries rather than MacPorts} {
    3353        if { [file exists ${x11prefix}/lib/libxcb.dylib] && ! [string equal ${prefix} ${x11prefix}] } {
Note: See TracChangeset for help on using the changeset viewer.