From 029adf977532057704330e72966833c093497544 Mon Sep 17 00:00:00 2001 From: Justin Lecher Date: Sun, 13 Dec 2015 15:05:20 +0100 Subject: dev-libs/boost: Backport fix for python ABI letters Package-Manager: portage-2.2.26 Signed-off-by: Justin Lecher --- dev-libs/boost/boost-1.56.0-r1.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'dev-libs/boost') diff --git a/dev-libs/boost/boost-1.56.0-r1.ebuild b/dev-libs/boost/boost-1.56.0-r1.ebuild index 8059695ecf7b..5eda44985599 100644 --- a/dev-libs/boost/boost-1.56.0-r1.ebuild +++ b/dev-libs/boost/boost-1.56.0-r1.ebuild @@ -75,10 +75,19 @@ create_user-config.jam() { fi if python_bindings_needed; then + # boost expects libpython$(pyver) and doesn't allow overrides + # and the build system is so creepy that it's easier just to + # provide a symlink (linker's going to use SONAME anyway) + # TODO: replace it with proper override one day + ln -f -s "$(python_get_library_path)" "${T}/lib${EPYTHON}$(get_libname)" || die + if tc-is-cross-compiler; then python_configuration="using python : ${EPYTHON#python} : : ${SYSROOT:-${EROOT}}/usr/include/${EPYTHON} : ${SYSROOT:-${EROOT}}/usr/$(get_libdir) ;" else - python_configuration="using python : : ${PYTHON} ;" + # note: we need to provide version explicitly because of + # a bug in the build system: + # https://github.com/boostorg/build/pull/104 + python_configuration="using python : ${EPYTHON#python} : ${PYTHON} : $(python_get_includedir) : ${T} ;" fi fi -- cgit v1.2.3-65-gdbad