SHA256
8
0
forked from pool/boost
Files
boost/python-2059618.patch
Ismail Dönmez ba09852d23 Accepting request 439200 from home:adamm:branches:devel:libraries:c_c++
- Revert upstream change that set default python version and
  ignored user configuration.
  python-2059618.patch (boo#1006584)

OBS-URL: https://build.opensuse.org/request/show/439200
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/boost?expand=0&rev=180
2016-11-09 09:03:58 +00:00

29 lines
1.3 KiB
Diff

Reverse: 2059618861eb25ae2ed3f1b6ebee8609365cbed9
Bug: bnc#1006584
https://svn.boost.org/trac/boost/ticket/12515
Index: boost_1_62_0/tools/build/src/tools/python.jam
===================================================================
--- boost_1_62_0.orig/tools/build/src/tools/python.jam
+++ boost_1_62_0/tools/build/src/tools/python.jam
@@ -903,19 +903,6 @@ local rule configure ( version ? : cmd-o
toolset.add-requirements
$(target-requirements:J=,):<python.interpreter>$(interpreter-cmd) ;
- # We also set a default requirement that assigns the first python configured
- # 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) ;
- }
-
# Register the right suffix for extensions.
register-extension-suffix $(extension-suffix) : $(target-requirements) ;