Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/
Date: Sun, 13 Dec 2015 14:05:55
Message-Id: 1450015528.029adf977532057704330e72966833c093497544.jlec@gentoo
1 commit: 029adf977532057704330e72966833c093497544
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 13 14:05:20 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 13 14:05:28 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=029adf97
7
8 dev-libs/boost: Backport fix for python ABI letters
9
10 Package-Manager: portage-2.2.26
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 dev-libs/boost/boost-1.56.0-r1.ebuild | 11 ++++++++++-
14 1 file changed, 10 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-libs/boost/boost-1.56.0-r1.ebuild b/dev-libs/boost/boost-1.56.0-r1.ebuild
17 index 8059695..5eda449 100644
18 --- a/dev-libs/boost/boost-1.56.0-r1.ebuild
19 +++ b/dev-libs/boost/boost-1.56.0-r1.ebuild
20 @@ -75,10 +75,19 @@ create_user-config.jam() {
21 fi
22
23 if python_bindings_needed; then
24 + # boost expects libpython$(pyver) and doesn't allow overrides
25 + # and the build system is so creepy that it's easier just to
26 + # provide a symlink (linker's going to use SONAME anyway)
27 + # TODO: replace it with proper override one day
28 + ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die
29 +
30 if tc-is-cross-compiler; then
31 python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;"
32 else
33 - python_configuration="using python : : ${PYTHON} ;"
34 + # note: we need to provide version explicitly because of
35 + # a bug in the build system:
36 + # https://github.com/boostorg/build/pull/104
37 + python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;"
38 fi
39 fi