Ticket #33806: Portfile.diff

File Portfile.diff, 1.9 KB (added by mklein-de (Michael Klein), 12 years ago)
  • Portfile

     
    172172    }
    173173}
    174174
    175 variant python24 description {Include Python 2.4 language bindings} conflicts python25 python26 {
     175variant python24 description {Include Python 2.4 language bindings} conflicts python25 python26 python27 {
    176176    depends_lib-append          port:python24
    177177    depends_build-append        port:swig-python
    178178    configure.args-delete       --disable-swig \
     
    186186    }
    187187}
    188188
    189 variant python25 description {Include Python 2.5 language bindings} conflicts python24 python26 {
     189variant python25 description {Include Python 2.5 language bindings} conflicts python24 python26 python27 {
    190190    depends_lib-append          port:python25
    191191    depends_build-append        port:swig-python
    192192    configure.args-delete       --disable-swig \
     
    200200    }
    201201}
    202202
    203 variant python26 description {Include Python 2.6 language bindings} conflicts python24 python25 {
     203variant python26 description {Include Python 2.6 language bindings} conflicts python24 python25 python27 {
    204204    depends_lib-append          port:python26
    205205    depends_build-append        port:swig-python
    206206    configure.args-delete       --disable-swig \
     
    209209    configure.python            ${prefix}/bin/python2.6
    210210}
    211211
     212variant python27 description {Include Python 2.7 language bindings} conflicts python24 python25 python26 {
     213    depends_lib-append          port:python27
     214    depends_build-append        port:swig-python
     215    configure.args-delete       --disable-swig \
     216                                --disable-python
     217    configure.args-append       --enable-python
     218    configure.python            ${prefix}/bin/python2.7
     219}
     220
     221
    212222variant ruby description {Include Ruby language bindings} {
    213223    depends_lib-append          port:ruby
    214224    depends_build-append        port:swig-ruby