diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-27 09:52:41 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-07-27 09:53:27 +0200 |
commit | f0b422090842ec668fd7d6ba01a12a49e25461b9 (patch) | |
tree | bc2b7c7e24bb20f289f30db9b347ec34cd256297 /dev-python | |
parent | app-text/texlive-core: disable freetype-config (diff) | |
download | gentoo-f0b422090842ec668fd7d6ba01a12a49e25461b9.tar.gz gentoo-f0b422090842ec668fd7d6ba01a12a49e25461b9.tar.bz2 gentoo-f0b422090842ec668fd7d6ba01a12a49e25461b9.zip |
dev-python/cgkit: Fix configure with >=boost-1.70
Closes: https://bugs.gentoo.org/690800
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r-- | dev-python/cgkit/cgkit-2.0.0-r2.ebuild | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/dev-python/cgkit/cgkit-2.0.0-r2.ebuild b/dev-python/cgkit/cgkit-2.0.0-r2.ebuild index b5dd3ab667bc..0edbc19a9c5f 100644 --- a/dev-python/cgkit/cgkit-2.0.0-r2.ebuild +++ b/dev-python/cgkit/cgkit-2.0.0-r2.ebuild @@ -55,9 +55,16 @@ python_prepare() { eapply "${FILESDIR}"/${PN}-py2k-pillow.patch fi + local boostpy_ver="${EPYTHON#python}" + if has_version ">=dev-libs/boost-1.70"; then + boostpy_ver="${boostpy_ver/\.}" + else + boostpy_ver="-${boostpy_ver}" + fi + cp config_template.cfg config.cfg || die cat >> config.cfg <<- _EOF_ || die - BOOST_LIB = 'boost_python-${EPYTHON#python}' + BOOST_LIB = 'boost_python${boostpy_ver}' LIBS += ['GL', 'GLU', 'glut'] LIB3DS_AVAILABLE = $(usex 3ds True False) _EOF_ |