commit:     329e4adfb3099a5c3c6414e70674b2e2b84358b9
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Wed Oct 14 00:00:00 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct 14 21:14:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=329e4adf

dev-util/lldb: Set used Python interpreter.

Required since:
https://github.com/llvm/llvm-project/commit/c4c3883b00d3a6aa657a5e3e515c90c9ea1f81c6

Signed-off-by: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache.Org>
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-util/lldb/lldb-11.0.0.9999.ebuild | 3 +++
 dev-util/lldb/lldb-11.0.0.ebuild      | 3 +++
 dev-util/lldb/lldb-12.0.0.9999.ebuild | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/dev-util/lldb/lldb-11.0.0.9999.ebuild 
b/dev-util/lldb/lldb-11.0.0.9999.ebuild
index a5b3aee8c3d..f16add65dbf 100644
--- a/dev-util/lldb/lldb-11.0.0.9999.ebuild
+++ b/dev-util/lldb/lldb-11.0.0.9999.ebuild
@@ -34,6 +34,7 @@ RDEPEND="
        !<sys-devel/llvm-4.0"
 DEPEND="${RDEPEND}"
 BDEPEND="
+       >=dev-util/cmake-3.16
        python? ( >=dev-lang/swig-3.0.11 )
        test? (
                $(python_gen_cond_dep "
@@ -68,6 +69,8 @@ src_configure() {
                # ncurses with complete library set (including autodetection
                # of -ltinfo)
                -DCURSES_NEED_NCURSES=ON
+
+               -DPython3_EXECUTABLE="${PYTHON}"
        )
        use test && mycmakeargs+=(
                -DLLVM_BUILD_TESTS=$(usex test)

diff --git a/dev-util/lldb/lldb-11.0.0.ebuild b/dev-util/lldb/lldb-11.0.0.ebuild
index 34bec7c88bf..b82452debdb 100644
--- a/dev-util/lldb/lldb-11.0.0.ebuild
+++ b/dev-util/lldb/lldb-11.0.0.ebuild
@@ -34,6 +34,7 @@ RDEPEND="
        !<sys-devel/llvm-4.0"
 DEPEND="${RDEPEND}"
 BDEPEND="
+       >=dev-util/cmake-3.16
        python? ( >=dev-lang/swig-3.0.11 )
        test? (
                $(python_gen_cond_dep "
@@ -68,6 +69,8 @@ src_configure() {
                # ncurses with complete library set (including autodetection
                # of -ltinfo)
                -DCURSES_NEED_NCURSES=ON
+
+               -DPython3_EXECUTABLE="${PYTHON}"
        )
        use test && mycmakeargs+=(
                -DLLVM_BUILD_TESTS=$(usex test)

diff --git a/dev-util/lldb/lldb-12.0.0.9999.ebuild 
b/dev-util/lldb/lldb-12.0.0.9999.ebuild
index 4b16c5b8327..9e83aa0a249 100644
--- a/dev-util/lldb/lldb-12.0.0.9999.ebuild
+++ b/dev-util/lldb/lldb-12.0.0.9999.ebuild
@@ -34,6 +34,7 @@ RDEPEND="
        !<sys-devel/llvm-4.0"
 DEPEND="${RDEPEND}"
 BDEPEND="
+       >=dev-util/cmake-3.16
        python? ( >=dev-lang/swig-3.0.11 )
        test? (
                $(python_gen_cond_dep "
@@ -68,6 +69,8 @@ src_configure() {
                # ncurses with complete library set (including autodetection
                # of -ltinfo)
                -DCURSES_NEED_NCURSES=ON
+
+               -DPython3_EXECUTABLE="${PYTHON}"
        )
        use test && mycmakeargs+=(
                -DLLVM_BUILD_TESTS=$(usex test)

Reply via email to