summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild2
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild2
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild2
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild
index 3f682163a64b..aa9cc673f048 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-15.0.2.9999.ebuild
@@ -37,7 +37,7 @@ LLVM_USE_TARGETS=llvm
llvm.org_set_globals
pkg_setup() {
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
+ LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
python-any-r1_pkg_setup
}
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild
index 3f682163a64b..aa9cc673f048 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0.9999.ebuild
@@ -37,7 +37,7 @@ LLVM_USE_TARGETS=llvm
llvm.org_set_globals
pkg_setup() {
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
+ LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
python-any-r1_pkg_setup
}
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild
index 3f682163a64b..aa9cc673f048 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-16.0.0_pre20221006.ebuild
@@ -37,7 +37,7 @@ LLVM_USE_TARGETS=llvm
llvm.org_set_globals
pkg_setup() {
- LLVM_MAX_SLOT=${PV%%.*} llvm_pkg_setup
+ LLVM_MAX_SLOT=${LLVM_MAJOR} llvm_pkg_setup
python-any-r1_pkg_setup
}