From 3951e7e64e71ea9d06c6d817b265c82c7a250a8d Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 1 May 2019 14:05:24 +0200 Subject: dev-python/pyilmbase: Fix configure w/ >=boost-1.70 Closes: https://bugs.gentoo.org/684770 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- dev-python/pyilmbase/pyilmbase-2.3.0.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'dev-python/pyilmbase') diff --git a/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild b/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild index fda4c62db801..f0a627779b31 100644 --- a/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild +++ b/dev-python/pyilmbase/pyilmbase-2.3.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -38,10 +38,17 @@ src_prepare() { } src_configure() { + local boostpython_ver="${EPYTHON:6}" + if has_version ">=dev-libs/boost-1.70.0"; then + boostpython_ver="${boostpython_ver/./}" + else + boostpython_ver="-${boostpython_ver}" + fi + local myeconfargs=( --with-boost-include-dir="${EPREFIX}/usr/include/boost" --with-boost-lib-dir="${EPREFIX}/usr/$(get_libdir)" - --with-boost-python-libname="boost_python-${EPYTHON:6}" + --with-boost-python-libname="boost_python${boostpython_ver}" $(use_with numpy) ) -- cgit v1.2.3-65-gdbad