commit:     a87f60a4f025bcec890ec8577af5268094623229
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 23 10:32:53 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 23 10:33:22 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a87f60a4

sys-devel/clang: Update paths to fix clang-tools-extra build

Upstream has apparently started hardcoding paths based on monorepo.
Since the actual paths do not matter to us, just update them.

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-devel/clang/clang-12.0.0.9999.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys-devel/clang/clang-12.0.0.9999.ebuild 
b/sys-devel/clang/clang-12.0.0.9999.ebuild
index 8f5be4425a4..1f2944a6e1d 100644
--- a/sys-devel/clang/clang-12.0.0.9999.ebuild
+++ b/sys-devel/clang/clang-12.0.0.9999.ebuild
@@ -79,8 +79,6 @@ src_prepare() {
        BUILD_DIR=${WORKDIR}/x/y/clang
 
        llvm.org_src_prepare
-
-       mv ../clang-tools-extra tools/extra || die
 }
 
 check_distribution_components() {
@@ -254,6 +252,7 @@ multilib_src_configure() {
 
        if multilib_is_native_abi; then
                mycmakeargs+=(
+                       
-DLLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR="${WORKDIR}"/clang-tools-extra
                        # normally copied from LLVM_INCLUDE_DOCS but the latter
                        # is lacking value in stand-alone builds
                        -DCLANG_INCLUDE_DOCS=ON

Reply via email to