Ticket #26418: xorg-xcb-proto-Portfile.diff
File xorg-xcb-proto-Portfile.diff, 1.2 KB (added by jmroot (Joshua Root), 13 years ago) |
---|
-
Portfile
22 22 23 23 depends_run port:libxml2 24 24 25 if {[variant_isset python31] || [variant_isset python32]} { 26 patchfiles-append xcbproto-python3.patch 27 post-patch { 28 system -W ${worksrcpath}/xcbgen "$2to3 -w *.py" 29 } 30 } 31 32 set 2to3 "" 25 33 variant python25 conflicts python26 python27 python31 python32 description {Use python 2.5} { 26 34 depends_run-append port:python25 27 35 configure.python ${prefix}/bin/python2.5 … … 40 48 variant python31 conflicts python25 python26 python27 python32 description {Use python 3.1} { 41 49 depends_run-append port:python31 42 50 configure.python ${prefix}/bin/python3.1 51 set 2to3 "${prefix}/bin/2to3-3.1" 43 52 } 44 53 45 54 variant python32 conflicts python25 python26 python27 python31 description {Use python 3.2} { 46 55 depends_run-append port:python32 47 56 configure.python ${prefix}/bin/python3.2 57 set 2to3 "${prefix}/bin/2to3-3.2" 48 58 } 49 59 50 60 if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32]} {