summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-06-20 12:31:04 +0200
committerMichał Górny <mgorny@gentoo.org>2020-06-20 18:32:23 +0200
commita8e8f99b99c8758d96ce62faf6df20e334a50d49 (patch)
treef323533d222de220def350c44b7decce8f47e9e2 /sys-devel/llvm/llvm-11.0.0.9999.ebuild
parentsys-devel/llvm-common: Apply patches in WORKDIR in 10.0.1+ (diff)
downloadgentoo-a8e8f99b99c8758d96ce62faf6df20e334a50d49.tar.gz
gentoo-a8e8f99b99c8758d96ce62faf6df20e334a50d49.tar.bz2
gentoo-a8e8f99b99c8758d96ce62faf6df20e334a50d49.zip
sys-devel/llvm: Apply patches in WORKDIR in 10.0.1+
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-devel/llvm/llvm-11.0.0.9999.ebuild')
-rw-r--r--sys-devel/llvm/llvm-11.0.0.9999.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys-devel/llvm/llvm-11.0.0.9999.ebuild b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
index bcf802e8847..b9699a63af7 100644
--- a/sys-devel/llvm/llvm-11.0.0.9999.ebuild
+++ b/sys-devel/llvm/llvm-11.0.0.9999.ebuild
@@ -189,11 +189,13 @@ src_prepare() {
sed -i -e '/source_parsers/d' docs/conf.py || die
fi
- # User patches + QA
- cmake-utils_src_prepare
-
# Verify that the live ebuild is up-to-date
check_live_ebuild
+
+ # cmake eclasses suck by forcing ${S} here
+ CMAKE_USE_DIR=${S} \
+ S=${WORKDIR} \
+ cmake-utils_src_prepare
}
# Is LLVM being linked against libc++?