Ticket #26418: xorg-libxcb-Portfile.diff
File xorg-libxcb-Portfile.diff, 1.2 KB (added by jmroot (Joshua Root), 13 years ago) |
---|
-
Portfile
27 27 port:xorg-xcb-proto \ 28 28 port:xorg-libpthread-stubs 29 29 30 if {[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 37 set 2to3 "" 30 38 variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} { 31 39 depends_run-append port:python25 32 40 configure.python ${prefix}/bin/python2.5 … … 45 53 variant python31 conflicts python25 python26 python27 python32 description {Use python 3.1} { 46 54 depends_run-append port:python31 47 55 configure.python ${prefix}/bin/python3.1 56 set 2to3 "${prefix}/bin/2to3-3.1" 48 57 } 49 58 50 59 variant python32 conflicts python25 python26 python27 python31 description {Use python 3.2} { 51 60 depends_run-append port:python32 52 61 configure.python ${prefix}/bin/python3.2 62 set 2to3 "${prefix}/bin/2to3-3.2" 53 63 } 54 64 55 65 if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32]} {