summaryrefslogtreecommitdiff
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/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild
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/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild')
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-11.0.0.9999.ebuild3
1 files changed, 3 insertions, 0 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 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
}