diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-02-20 14:18:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-02-20 14:21:23 +0000 |
commit | 93d06d453e2e6114d69f76623b4eb80f1121103a (patch) | |
tree | e4fcbcb4b000b491e2f8f30998ee34a707b6ffc0 /main/boost/dual-python.patch | |
parent | fe9e2da758b9f19669f488464c0b26edd75efd9c (diff) | |
download | aports-93d06d453e2e6114d69f76623b4eb80f1121103a.tar.bz2 aports-93d06d453e2e6114d69f76623b4eb80f1121103a.tar.xz |
main/boost: fix boost_python3
ref #6874
upstream: https://github.com/boostorg/build/issues/163
Diffstat (limited to 'main/boost/dual-python.patch')
-rw-r--r-- | main/boost/dual-python.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/main/boost/dual-python.patch b/main/boost/dual-python.patch new file mode 100644 index 0000000000..6a06478889 --- /dev/null +++ b/main/boost/dual-python.patch @@ -0,0 +1,27 @@ +diff --git a/tools/build/src/tools/python.jam b/tools/build/src/tools/python.jam +index cbd6419..0c29df6 100644 +--- a/tools/build/src/tools/python.jam ++++ b/tools/build/src/tools/python.jam +@@ -907,14 +907,14 @@ local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? : + # for a particular target OS as the default. This makes it so that we can + # select a python interpreter with only knowledge of the target OS. And hence + # can configure different Pythons based on the target OS only. +- local toolset-requirements = [ toolset.requirements ] ; +- local toolset-target-os-requirements +- = [ property.evaluate-conditionals-in-context +- [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ; +- if ! <python> in $(toolset-target-os-requirements:G) +- { +- toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ; +- } ++# local toolset-requirements = [ toolset.requirements ] ; ++# local toolset-target-os-requirements ++# = [ property.evaluate-conditionals-in-context ++# [ $(toolset-requirements).raw ] : <target-os>$(target-os) ] ; ++# if ! <python> in $(toolset-target-os-requirements:G) ++# { ++# toolset.add-requirements <target-os>$(target-os):<python>$(version:E=default) ; ++# } + + # Register the right suffix for extensions. + register-extension-suffix $(extension-suffix) : $(target-requirements) ; |