Ticket #51592: Portfile-xorg-libxcb.diff

File Portfile-xorg-libxcb.diff, 1.5 KB (added by mf2k (Frank Schima), 8 years ago)
  • Portfile

    old new  
    5353        DOXYGEN="${prefix}/bin/doxygen"
    5454}
    5555
    56 # TODO: Remove after 2016-01-04.
    57 variant python25 requires python27 description {Legacy variant} {}
    58 variant python26 requires python27 description {Legacy variant} {}
    59 variant python31 requires python34 description {Legacy variant} {}
    60 variant python32 requires python34 description {Legacy variant} {}
    61 variant python33 requires python34 description {Legacy variant} {}
    62 
    63 variant python27 conflicts python34 description {Use python 2.7} {
     56variant python27 conflicts python34 python35 description {Use python 2.7} {
    6457    depends_run-append      port:python27
    6558    configure.python        ${prefix}/bin/python2.7
    6659}
    6760
    68 variant python34 conflicts python27 description {Use python 3.4} {
     61variant python34 conflicts python27 python35 description {Use python 3.4} {
    6962    depends_run-append      port:python34
    7063    configure.python        ${prefix}/bin/python3.4
    7164}
    7265
    73 if {![variant_isset python25] && ![variant_isset python26] && ![variant_isset python31] && ![variant_isset python32] && ![variant_isset python33] && ![variant_isset python34]} {
     66variant python35 conflicts python27 python34 description {Use python 3.5} {
     67    depends_run-append      port:python35
     68    configure.python        ${prefix}/bin/python3.5
     69}
     70
     71if {![variant_isset python34] && ![variant_isset python35]} {
    7472    default_variants +python27
    7573}
    7674