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: Sun, 29 Nov 2020 08:59:37
Message-Id: 1606639952.03c3faa03bcde18a805811b7b311ef26efe14826.mgorny@gentoo
1 commit: 03c3faa03bcde18a805811b7b311ef26efe14826
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 29 08:52:32 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 29 08:52:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c3faa0
7
8 sys-devel/clang-common: Delay llvm.org_set_globals after vars
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-devel/clang-common/clang-common-11.0.0.9999.ebuild | 5 +++--
13 sys-devel/clang-common/clang-common-12.0.0.9999.ebuild | 5 +++--
14 2 files changed, 6 insertions(+), 4 deletions(-)
15
16 diff --git a/sys-devel/clang-common/clang-common-11.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-11.0.0.9999.ebuild
17 index 18e41e0917d..1c9ca4dbe64 100644
18 --- a/sys-devel/clang-common/clang-common-11.0.0.9999.ebuild
19 +++ b/sys-devel/clang-common/clang-common-11.0.0.9999.ebuild
20 @@ -7,8 +7,6 @@ inherit bash-completion-r1 llvm.org
21
22 DESCRIPTION="Common files shared between multiple slots of clang"
23 HOMEPAGE="https://llvm.org/"
24 -LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
25 -llvm.org_set_globals
26 S=${WORKDIR}/clang/utils
27
28 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
29 @@ -18,6 +16,9 @@ IUSE=""
30
31 PDEPEND="sys-devel/clang:*"
32
33 +LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
34 +llvm.org_set_globals
35 +
36 src_install() {
37 newbashcomp bash-autocomplete.sh clang
38 }
39
40 diff --git a/sys-devel/clang-common/clang-common-12.0.0.9999.ebuild b/sys-devel/clang-common/clang-common-12.0.0.9999.ebuild
41 index 18e41e0917d..1c9ca4dbe64 100644
42 --- a/sys-devel/clang-common/clang-common-12.0.0.9999.ebuild
43 +++ b/sys-devel/clang-common/clang-common-12.0.0.9999.ebuild
44 @@ -7,8 +7,6 @@ inherit bash-completion-r1 llvm.org
45
46 DESCRIPTION="Common files shared between multiple slots of clang"
47 HOMEPAGE="https://llvm.org/"
48 -LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
49 -llvm.org_set_globals
50 S=${WORKDIR}/clang/utils
51
52 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
53 @@ -18,6 +16,9 @@ IUSE=""
54
55 PDEPEND="sys-devel/clang:*"
56
57 +LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
58 +llvm.org_set_globals
59 +
60 src_install() {
61 newbashcomp bash-autocomplete.sh clang
62 }