Ticket #51066: Portfile-nghttp2.diff
File Portfile-nghttp2.diff, 1.5 KB (added by Schamschula (Marius Schamschula), 9 years ago) |
---|
-
Portfile
old new 22 22 checksums rmd160 ef40a5c6782294116863e22890c0a74a54715fdb \ 23 23 sha256 3d600ef8bfd151769559bc23806877b8b4eaf3d66776e6c1427b9c04cce8e853 24 24 25 if {![variant_isset python3 5]} { default_variants +python27 }25 if {![variant_isset python34] && ![variant_isset python35] } { default_variants +python27 } 26 26 27 if {![variant_isset python27] && ![variant_isset python3 5]} {27 if {![variant_isset python27] && ![variant_isset python34] && ![variant_isset python35]} { 28 28 error "You must select one of the python variants." 29 29 } 30 30 31 31 if {[variant_isset python27]} { set PythonVersion 2.7 } 32 if {[variant_isset python34]} { set PythonVersion 3.4 } 32 33 if {[variant_isset python35]} { set PythonVersion 3.5 } 33 34 set PythonBranch [join [lrange [split ${PythonVersion} .] 0 1] ""] 34 35 … … 62 63 xinstall -d ${destroot}${prefix}/lib/python${PythonVersion}/site-packages/ 63 64 } 64 65 65 variant python27 conflicts python3 5 description {Build using Python 2.7} {66 variant python27 conflicts python34 python35 description {Build using Python 2.7} { 66 67 configure.env-append PYTHON_EXTRA_LDFLAGS="-u _PyMac_Error ${frameworks_dir}/Python.framework/Versions/${PythonVersion}/Python" 67 68 } 68 69 69 variant python35 conflicts python27 description {Build using Python 3.5} {} 70 variant python34 conflicts python27 python35 description {Build using Python 3.4} {} 71 72 variant python35 conflicts python27 python34 description {Build using Python 3.5} {}