Ignore:
Timestamp:
Aug 25, 2011, 1:18:00 AM (6 years ago)
Author:
jmr@…
Message:

xorg-libxcb, xorg-xcb-proto: fix python31 and python32 variants (#26418)

File:
1 edited

Legend:

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

    r80493 r83061  
    2828                port:xorg-libpthread-stubs
    2929
     30if {[variant_isset python31] || [variant_isset python32]} {
     31    patchfiles-append libxcb-python3.patch
     32    post-patch {
     33        system -W ${worksrcpath}/src "$2to3 -w *.py"
     34    }
     35}
     36
     37set 2to3 ""
    3038variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} {
    3139    depends_run-append      port:python25
     
    4654    depends_run-append      port:python31
    4755    configure.python        ${prefix}/bin/python3.1
     56    set 2to3 "${prefix}/bin/2to3-3.1"
    4857}
    4958
     
    5160    depends_run-append      port:python32
    5261    configure.python        ${prefix}/bin/python3.2
     62    set 2to3 "${prefix}/bin/2to3-3.2"
    5363}
    5464
Note: See TracChangeset for help on using the changeset viewer.