summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-29 09:56:59 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-29 09:58:58 +0100
commiteb44131c604f2cf17d28cd9999e2641c58708656 (patch)
tree231d28cbfe091b1fa104b9fa2d075c804543b198 /sys-libs/libcxx
parentsys-libs/libcxxabi: Delay llvm.org_set_globals after vars (diff)
downloadgentoo-eb44131c604f2cf17d28cd9999e2641c58708656.tar.gz
gentoo-eb44131c604f2cf17d28cd9999e2641c58708656.tar.bz2
gentoo-eb44131c604f2cf17d28cd9999e2641c58708656.zip
sys-libs/libcxx: Delay llvm.org_set_globals after vars
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'sys-libs/libcxx')
-rw-r--r--sys-libs/libcxx/libcxx-11.0.0.9999.ebuild5
-rw-r--r--sys-libs/libcxx/libcxx-12.0.0.9999.ebuild5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
index 8257e75c34dc..dd1a1a1f3a2f 100644
--- a/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-11.0.0.9999.ebuild
@@ -9,8 +9,6 @@ inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs
DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
HOMEPAGE="https://libcxx.llvm.org/"
-LLVM_COMPONENTS=( libcxx{,abi} llvm/{cmake/modules,utils/llvm-lit} )
-llvm.org_set_globals
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
SLOT="0"
@@ -36,6 +34,9 @@ BDEPEND="
DOCS=( CREDITS.TXT )
+LLVM_COMPONENTS=( libcxx{,abi} llvm/{cmake/modules,utils/llvm-lit} )
+llvm.org_set_globals
+
python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
}
diff --git a/sys-libs/libcxx/libcxx-12.0.0.9999.ebuild b/sys-libs/libcxx/libcxx-12.0.0.9999.ebuild
index 8257e75c34dc..dd1a1a1f3a2f 100644
--- a/sys-libs/libcxx/libcxx-12.0.0.9999.ebuild
+++ b/sys-libs/libcxx/libcxx-12.0.0.9999.ebuild
@@ -9,8 +9,6 @@ inherit cmake-multilib llvm llvm.org python-any-r1 toolchain-funcs
DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
HOMEPAGE="https://libcxx.llvm.org/"
-LLVM_COMPONENTS=( libcxx{,abi} llvm/{cmake/modules,utils/llvm-lit} )
-llvm.org_set_globals
LICENSE="Apache-2.0-with-LLVM-exceptions || ( UoI-NCSA MIT )"
SLOT="0"
@@ -36,6 +34,9 @@ BDEPEND="
DOCS=( CREDITS.TXT )
+LLVM_COMPONENTS=( libcxx{,abi} llvm/{cmake/modules,utils/llvm-lit} )
+llvm.org_set_globals
+
python_check_deps() {
has_version "dev-python/lit[${PYTHON_USEDEP}]"
}