From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 03581138334 for ; Sat, 27 Jul 2019 07:54:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 06F81E083B; Sat, 27 Jul 2019 07:54:51 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DF2B3E083B for ; Sat, 27 Jul 2019 07:54:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9322348C75 for ; Sat, 27 Jul 2019 07:54:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B08CE622 for ; Sat, 27 Jul 2019 07:54:47 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1564214007.f0b422090842ec668fd7d6ba01a12a49e25461b9.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/cgkit/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/cgkit/cgkit-2.0.0-r2.ebuild X-VCS-Directories: dev-python/cgkit/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: f0b422090842ec668fd7d6ba01a12a49e25461b9 X-VCS-Branch: master Date: Sat, 27 Jul 2019 07:54:47 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e1c31bef-5c46-4481-aad7-164f0a56dac7 X-Archives-Hash: 7d74c824038cbaa85ea70c64d19439ce commit: f0b422090842ec668fd7d6ba01a12a49e25461b9 Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Jul 27 07:52:41 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Jul 27 07:53:27 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b42209 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 gentoo.org> dev-python/cgkit/cgkit-2.0.0-r2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/dev-python/cgkit/cgkit-2.0.0-r2.ebuild b/dev-python/cgkit/cgkit-2.0.0-r2.ebuild index b5dd3ab667b..0edbc19a9c5 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_