diff options
author | 2016-01-26 20:13:00 +0100 | |
---|---|---|
committer | 2016-01-26 20:13:00 +0100 | |
commit | c5a83124f41864a51f51b810d475b497babdab58 (patch) | |
tree | dffbe1994f6e6182e42fb1cc92bcf0aeb3e479fb /dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch | |
parent | Add thunderbird-44.0b1 ebuild working on musl (diff) | |
parent | Add dev-libs/boost for LibreSSL >= 2.3.0 (diff) | |
download | ennui-c5a83124f41864a51f51b810d475b497babdab58.tar.gz ennui-c5a83124f41864a51f51b810d475b497babdab58.tar.bz2 ennui-c5a83124f41864a51f51b810d475b497babdab58.zip |
Subtree merge in boost from csmk's fork of LibreSSL overlay (https://github.com/csmk/libressl/commit/095bc1fb484363d00f763c918df17a2a0ee358d3)
Diffstat (limited to 'dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch')
-rw-r--r-- | dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch b/dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch new file mode 100644 index 0000000..327429e --- /dev/null +++ b/dev-libs/boost/files/boost-1.51.0-respect_python-buildid.patch @@ -0,0 +1,69 @@ +https://svn.boost.org/trac/boost/ticket/6286 + +--- boostcpp.jam ++++ boostcpp.jam +@@ -99,13 +99,6 @@ + BUILD_ID = [ regex.replace $(build-id) "[*\\/:.\"\' ]" _ ] ; + } + +-# Python build id (for Python libraries only). +-python-id = [ option.get "python-buildid" ] ; +-if $(python-id) +-{ +- PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; +-} +- + + ################################################################################ + # +--- libs/mpi/build/Jamfile.v2 ++++ libs/mpi/build/Jamfile.v2 +@@ -8,6 +8,8 @@ + # Authors: Douglas Gregor + # Andrew Lumsdaine + ++import option ; ++import regex ; + import mpi ; + import indirect ; + import python ; +@@ -24,6 +26,13 @@ + <tag>@$(__name__).tag + ; + ++# Python build id (for Python libraries only). ++python-id = [ option.get "python-buildid" ] ; ++if $(python-id) ++{ ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++} ++ + rule tag ( name : type ? : property-set ) + { + local result = $(name) ; +--- libs/python/build/Jamfile.v2 ++++ libs/python/build/Jamfile.v2 +@@ -2,6 +2,8 @@ + # Software License, Version 1.0. (See accompanying + # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + ++import option ; ++import regex ; + import os ; + import indirect ; + import modules ; +@@ -30,6 +32,14 @@ + ; + } + ++# Python build id (for Python libraries only). ++python-id = [ option.get "python-buildid" ] ; ++if $(python-id) ++{ ++ PYTHON_ID = [ regex.replace $(python-id) [*\\/:.\"\'] _ ] ; ++} ++ ++ + rule find-py3-version + { + local versions = [ feature.values python ] ; |