Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-common/
Date: Sat, 30 Apr 2022 13:28:14
Message-Id: 1651325216.e1857def3989aa506b7bb7f08dca6ddaee1cd92e.mgorny@gentoo
1 commit: e1857def3989aa506b7bb7f08dca6ddaee1cd92e
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 30 13:26:29 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 30 13:26:56 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1857def
7
8 sys-devel/clang-common: Fix S substitution
9
10 Variable reordering has caused the S substitution to be overwritten
11 by the eclass logic. Rather than relying on a specific ordering,
12 just update LLVM_COMPONENTS so that the default value works just fine.
13
14 Closes: https://bugs.gentoo.org/841827
15 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
16
17 sys-devel/clang-common/clang-common-14.0.3.ebuild | 3 +--
18 sys-devel/clang-common/clang-common-15.0.0.9999.ebuild | 3 +--
19 2 files changed, 2 insertions(+), 4 deletions(-)
20
21 diff --git a/sys-devel/clang-common/clang-common-14.0.3.ebuild b/sys-devel/clang-common/clang-common-14.0.3.ebuild
22 index 5f09f0a442dc..798f9e9fb858 100644
23 --- a/sys-devel/clang-common/clang-common-14.0.3.ebuild
24 +++ b/sys-devel/clang-common/clang-common-14.0.3.ebuild
25 @@ -7,7 +7,6 @@ inherit bash-completion-r1 llvm.org
26
27 DESCRIPTION="Common files shared between multiple slots of clang"
28 HOMEPAGE="https://llvm.org/"
29 -S=${WORKDIR}/clang/utils
30
31 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
32 SLOT="0"
33 @@ -17,7 +16,7 @@ PDEPEND="
34 sys-devel/clang:*
35 "
36
37 -LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
38 +LLVM_COMPONENTS=( clang/utils )
39 llvm.org_set_globals
40
41 src_install() {
42
43 diff --git a/sys-devel/clang-common/clang-common-15.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-15.0.0.9999.ebuild
44 index 46b53588191e..1285500128bb 100644
45 --- a/sys-devel/clang-common/clang-common-15.0.0.9999.ebuild
46 +++ b/sys-devel/clang-common/clang-common-15.0.0.9999.ebuild
47 @@ -7,7 +7,6 @@ inherit bash-completion-r1 llvm.org
48
49 DESCRIPTION="Common files shared between multiple slots of clang"
50 HOMEPAGE="https://llvm.org/"
51 -S=${WORKDIR}/clang/utils
52
53 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
54 SLOT="0"
55 @@ -17,7 +16,7 @@ PDEPEND="
56 sys-devel/clang:*
57 "
58
59 -LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
60 +LLVM_COMPONENTS=( clang/utils )
61 llvm.org_set_globals
62
63 src_install() {