Changeset 147513 for trunk/dports/www


Ignore:
Timestamp:
Apr 6, 2016, 12:17:13 PM (3 years ago)
Author:
khindenburg@…
Message:

nghttp2: add python34 variant maintainer #51066

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/nghttp2/Portfile

    r147493 r147513  
    2323                    sha256 3d600ef8bfd151769559bc23806877b8b4eaf3d66776e6c1427b9c04cce8e853
    2424
    25 if {![variant_isset python35]} { default_variants +python27 }
     25if {![variant_isset python34] && ![variant_isset python35] } { default_variants +python27 }
    2626
    27 if {![variant_isset python27] && ![variant_isset python35]} {
     27if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} {
    2828    error "You must select one of the python variants."
    2929}
    3030
    3131if {[variant_isset python27]} { set PythonVersion   2.7 }
     32if {[variant_isset python34]} { set PythonVersion   3.4 }
    3233if {[variant_isset python35]} { set PythonVersion   3.5 }
    3334set PythonBranch    [join [lrange [split ${PythonVersion} .] 0 1] ""]
     
    6364}
    6465
    65 variant python27 conflicts python35 description {Build using Python 2.7} {
     66variant python27 conflicts python34 python35 description {Build using Python 2.7} {
    6667    configure.env-append   PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/${PythonVersion}/Python"
    6768}
    6869
    69 variant python35 conflicts python27 description {Build using Python 3.5} {}
     70variant python34 conflicts python27 python35 description {Build using Python 3.4} {}
     71
     72variant python35 conflicts python27 python34 description {Build using Python 3.5} {}
Note: See TracChangeset for help on using the changeset viewer.