mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-libs/imath: fix #931291
looks up Python first, then Python3 and Python2, so we specify both.. Closes: https://bugs.gentoo.org/931291 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Part-of: https://github.com/gentoo/gentoo/pull/41967 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
1754f0ad94
commit
de708f3667
@ -49,7 +49,6 @@ DOCS=( CHANGES.md CONTRIBUTORS.md README.md SECURITY.md )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-3.1.11-fix_cmake_module_export.patch"
|
||||
"${FILESDIR}/${PN}-3.1.11-use-correct-boost_python_version.patch"
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
@ -69,8 +68,9 @@ src_configure() {
|
||||
)
|
||||
if use python; then
|
||||
mycmakeargs+=(
|
||||
-DBoost_NO_BOOST_CMAKE=OFF
|
||||
-DPYTHON=ON
|
||||
# looks up Python first, then Python3 and Python2, so we specify both..
|
||||
-DPython_EXECUTABLE="${PYTHON}"
|
||||
-DPython3_EXECUTABLE="${PYTHON}"
|
||||
-DPython3_INCLUDE_DIR="$(python_get_includedir)"
|
||||
-DPython3_LIBRARY="$(python_get_library_path)"
|
||||
Loading…
x
Reference in New Issue
Block a user