commit:     03c3faa03bcde18a805811b7b311ef26efe14826
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 29 08:52:32 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 29 08:52:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03c3faa0

sys-devel/clang-common: Delay llvm.org_set_globals after vars

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

 sys-devel/clang-common/clang-common-11.0.0.9999.ebuild | 5 +++--
 sys-devel/clang-common/clang-common-12.0.0.9999.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

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
index 18e41e0917d..1c9ca4dbe64 100644
--- a/sys-devel/clang-common/clang-common-11.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-11.0.0.9999.ebuild
@@ -7,8 +7,6 @@ inherit bash-completion-r1 llvm.org
 
 DESCRIPTION="Common files shared between multiple slots of clang"
 HOMEPAGE="https://llvm.org/";
-LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
-llvm.org_set_globals
 S=${WORKDIR}/clang/utils
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
@@ -18,6 +16,9 @@ IUSE=""
 
 PDEPEND="sys-devel/clang:*"
 
+LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
+llvm.org_set_globals
+
 src_install() {
        newbashcomp bash-autocomplete.sh clang
 }

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
index 18e41e0917d..1c9ca4dbe64 100644
--- a/sys-devel/clang-common/clang-common-12.0.0.9999.ebuild
+++ b/sys-devel/clang-common/clang-common-12.0.0.9999.ebuild
@@ -7,8 +7,6 @@ inherit bash-completion-r1 llvm.org
 
 DESCRIPTION="Common files shared between multiple slots of clang"
 HOMEPAGE="https://llvm.org/";
-LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
-llvm.org_set_globals
 S=${WORKDIR}/clang/utils
 
 LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
@@ -18,6 +16,9 @@ IUSE=""
 
 PDEPEND="sys-devel/clang:*"
 
+LLVM_COMPONENTS=( clang/utils/bash-autocomplete.sh )
+llvm.org_set_globals
+
 src_install() {
        newbashcomp bash-autocomplete.sh clang
 }

Reply via email to