|
|
@@ -7,8 +7,7 @@ PortGroup cmake 1.1 |
|
|
cmake.out_of_source yes |
|
|
|
|
|
github.setup libproxy libproxy 0.4.15 |
|
|
revision 1 |
|
|
name libproxy |
|
|
revision 2 |
|
|
epoch 1 |
|
|
categories net |
|
|
maintainers {devans @dbevans} openmaintainer |
|
|
@@ -67,7 +66,7 @@ configure.args-append \ |
|
|
# Fix an issue with clang-900 (Xcode 9) using the Sierra SDK, <rdar://problem/31263056> |
|
|
configure.cppflags-append -D_DARWIN_C_SOURCE=1 |
|
|
|
|
|
variant python27 conflicts python34 python35 python36 description {Build Bindings for Python 2.7} { |
|
|
variant python27 conflicts python35 python36 description {Build Bindings for Python 2.7} { |
|
|
set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7 |
|
|
depends_lib-append port:python27 |
|
|
configure.args-delete \ |
|
|
@@ -78,18 +77,7 @@ variant python27 conflicts python34 python35 python36 description {Build Binding |
|
|
-DPYTHON2_SITEPKG_DIR=${python_prefix}/lib/python2.7/site-packages |
|
|
} |
|
|
|
|
|
variant python34 conflicts python27 python35 python36 description {Build Bindings for Python 3.4} { |
|
|
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.4 |
|
|
depends_lib-append port:python34 |
|
|
configure.args-delete \ |
|
|
-DWITH_PYTHON3=NO |
|
|
configure.args-append \ |
|
|
-DWITH_PYTHON3=YES \ |
|
|
-DPYTHON3_EXECUTABLE=${prefix}/bin/python3.4 \ |
|
|
-DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.4/site-packages |
|
|
} |
|
|
|
|
|
variant python35 conflicts python27 python34 python36 description {Build Bindings for Python 3.5} { |
|
|
variant python35 conflicts python27 python36 description {Build Bindings for Python 3.5} { |
|
|
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.5 |
|
|
depends_lib-append port:python35 |
|
|
configure.args-delete \ |
|
|
@@ -100,7 +88,7 @@ variant python35 conflicts python27 python34 python36 description {Build Binding |
|
|
-DPYTHON3_SITEPKG_DIR=${python_prefix}/lib/python3.5/site-packages |
|
|
} |
|
|
|
|
|
variant python36 conflicts python27 python34 python35 description {Build Bindings for Python 3.6} { |
|
|
variant python36 conflicts python27 python35 description {Build Bindings for Python 3.6} { |
|
|
set python_prefix ${frameworks_dir}/Python.framework/Versions/3.6 |
|
|
depends_lib-append port:python36 |
|
|
configure.args-delete \ |
|
|
@@ -113,7 +101,7 @@ variant python36 conflicts python27 python34 python35 description {Build Binding |
|
|
|
|
|
# build Python 2.7 bindings by default for compatibility |
|
|
|
|
|
if {![variant_isset python34] && ![variant_isset python35] && ![variant_isset python36]} { |
|
|
if {![variant_isset python35] && ![variant_isset python36]} { |
|
|
default_variants +python27 |
|
|
} |
|
|
|
|
|
|