commit:     f56e484bcf0cefa1ecde2feed28cc916a4501748
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:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f56e484b

dev-ml/llvm-ocaml: 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-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild | 3 +++
 dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild      | 3 +++
 dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
index 575154be604..a39cfca35bc 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
@@ -35,6 +35,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        dev-lang/perl
        dev-ml/findlib
+       >=dev-util/cmake-3.16
        test? ( dev-ml/ounit )
        ${PYTHON_DEPS}"
 
@@ -69,6 +70,8 @@ src_configure() {
 
                -DLLVM_HOST_TRIPLE="${CHOST}"
 
+               -DPython3_EXECUTABLE="${PYTHON}"
+
                # disable go bindings
                -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
 

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
index bd90d5141e7..317ad24d0e2 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.ebuild
@@ -35,6 +35,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        dev-lang/perl
        dev-ml/findlib
+       >=dev-util/cmake-3.16
        test? ( dev-ml/ounit )
        ${PYTHON_DEPS}"
 
@@ -69,6 +70,8 @@ src_configure() {
 
                -DLLVM_HOST_TRIPLE="${CHOST}"
 
+               -DPython3_EXECUTABLE="${PYTHON}"
+
                # disable go bindings
                -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
 

diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild 
b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
index 575154be604..a39cfca35bc 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild
@@ -35,6 +35,7 @@ DEPEND="${RDEPEND}"
 BDEPEND="
        dev-lang/perl
        dev-ml/findlib
+       >=dev-util/cmake-3.16
        test? ( dev-ml/ounit )
        ${PYTHON_DEPS}"
 
@@ -69,6 +70,8 @@ src_configure() {
 
                -DLLVM_HOST_TRIPLE="${CHOST}"
 
+               -DPython3_EXECUTABLE="${PYTHON}"
+
                # disable go bindings
                -DGO_EXECUTABLE=GO_EXECUTABLE-NOTFOUND
 

Reply via email to