summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-20 14:17:16 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-20 18:32:28 +0200
commit332e3c6cdb27206d7c33d8ed6c6cb55106230f63 (patch)
treed1e82c25acf6f44f35d903a17f33b1162f75e661 /dev-ml
parentdev-python/lit: Apply patches in WORKDIR in 10.0.1+ (diff)
downloadgentoo-332e3c6cdb27206d7c33d8ed6c6cb55106230f63.tar.gz
gentoo-332e3c6cdb27206d7c33d8ed6c6cb55106230f63.tar.bz2
gentoo-332e3c6cdb27206d7c33d8ed6c6cb55106230f63.zip
dev-ml/llvm-ocaml: Apply patches in WORKDIR in 10.0.1+
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild3
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild3
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild3
3 files changed, 9 insertions, 0 deletions
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild
index 52e3836cb57f..c87d9f13cf31 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1.9999.ebuild
@@ -50,6 +50,9 @@ src_prepare() {
# Python is needed to run tests using lit
python_setup
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
cmake-utils_src_prepare
}
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild
index 8a7efe8fca43..c228684d237c 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-10.0.1_rc1.ebuild
@@ -50,6 +50,9 @@ src_prepare() {
# Python is needed to run tests using lit
python_setup
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
cmake-utils_src_prepare
}
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 a0e74a7dc12b..5a10d4d1de5c 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
@@ -50,6 +50,9 @@ src_prepare() {
# Python is needed to run tests using lit
python_setup
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
cmake-utils_src_prepare
}