commit: 8ef7e7967be382f393f7e76e098d31ff13e199fc Author: Mario Haustein <mario.haustein <AT> hrz <DOT> tu-chemnitz <DOT> de> AuthorDate: Tue Sep 6 06:59:09 2022 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Wed Oct 5 07:15:53 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ef7e796
dev-libs/keystone: explicitly specify python interpreter for cmake Closes: https://bugs.gentoo.org/867631 Signed-off-by: Mario Haustein <mario.haustein <AT> hrz.tu-chemnitz.de> Closes: https://github.com/gentoo/gentoo/pull/27161 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> dev-libs/keystone/keystone-0.9.2-r1.ebuild | 5 +++++ dev-libs/keystone/keystone-9999.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/dev-libs/keystone/keystone-0.9.2-r1.ebuild b/dev-libs/keystone/keystone-0.9.2-r1.ebuild index 68f71673a12f..a6f8dcdd8897 100644 --- a/dev-libs/keystone/keystone-0.9.2-r1.ebuild +++ b/dev-libs/keystone/keystone-0.9.2-r1.ebuild @@ -56,6 +56,10 @@ wrap_python() { fi } +pkg_setup() { + python_setup +} + src_prepare() { default @@ -73,6 +77,7 @@ src_configure() { -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" -DLLVM_HOST_TRIPLE="${CHOST}" + -DPYTHON_EXECUTABLE="${PYTHON}" ) cmake_src_configure diff --git a/dev-libs/keystone/keystone-9999.ebuild b/dev-libs/keystone/keystone-9999.ebuild index 68f71673a12f..a6f8dcdd8897 100644 --- a/dev-libs/keystone/keystone-9999.ebuild +++ b/dev-libs/keystone/keystone-9999.ebuild @@ -56,6 +56,10 @@ wrap_python() { fi } +pkg_setup() { + python_setup +} + src_prepare() { default @@ -73,6 +77,7 @@ src_configure() { -DBUILD_SHARED_LIBS=ON -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" -DLLVM_HOST_TRIPLE="${CHOST}" + -DPYTHON_EXECUTABLE="${PYTHON}" ) cmake_src_configure
