summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-29 09:51:16 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-29 09:51:16 +0100
commit11d6eee3d03799574183ac586602af89e8d06d61 (patch)
tree5725155db214ca668677013bd8fb5c66fd8af319 /dev-ml/llvm-ocaml
parentdev-python/lit: Delay llvm.org_set_globals after vars (diff)
downloadgentoo-11d6eee3d03799574183ac586602af89e8d06d61.tar.gz
gentoo-11d6eee3d03799574183ac586602af89e8d06d61.tar.bz2
gentoo-11d6eee3d03799574183ac586602af89e8d06d61.zip
dev-ml/llvm-ocaml: Delay llvm.org_set_globals after vars
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-ml/llvm-ocaml')
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild5
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-12.0.0.9999.ebuild5
2 files changed, 6 insertions, 4 deletions
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 a39cfca35bc6..f63a8b33834d 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
@@ -8,8 +8,6 @@ inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OCaml bindings for LLVM"
HOMEPAGE="https://llvm.org/"
-LLVM_COMPONENTS=( llvm )
-llvm.org_set_globals
# Keep in sync with sys-devel/llvm
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC VE )
@@ -39,6 +37,9 @@ BDEPEND="
test? ( dev-ml/ounit )
${PYTHON_DEPS}"
+LLVM_COMPONENTS=( llvm )
+llvm.org_set_globals
+
pkg_setup() {
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
python-any-r1_pkg_setup
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 3ded7e4e44fb..1d3cf3b002d1 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
@@ -8,8 +8,6 @@ inherit cmake llvm llvm.org python-any-r1
DESCRIPTION="OCaml bindings for LLVM"
HOMEPAGE="https://llvm.org/"
-LLVM_COMPONENTS=( llvm )
-llvm.org_set_globals
# Keep in sync with sys-devel/llvm
ALL_LLVM_EXPERIMENTAL_TARGETS=( ARC CSKY VE )
@@ -39,6 +37,9 @@ BDEPEND="
test? ( dev-ml/ounit )
${PYTHON_DEPS}"
+LLVM_COMPONENTS=( llvm )
+llvm.org_set_globals
+
pkg_setup() {
LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
python-any-r1_pkg_setup