sys-libs/llvm-libunwind: Correct test dependencies
authorMichał Górny <mgorny@gentoo.org>
Fri, 9 Mar 2018 16:10:23 +0000 (17:10 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 9 Mar 2018 16:14:15 +0000 (17:14 +0100)
sys-libs/llvm-libunwind/llvm-libunwind-6.0.0.ebuild
sys-libs/llvm-libunwind/llvm-libunwind-6.0.9999.ebuild
sys-libs/llvm-libunwind/llvm-libunwind-9999.ebuild

index 45ca2b2e5f9f13997e8167dad55b09273526c838..db6bc3cacf89136130a0d2f78a7951b9d2ea0268 100644 (file)
@@ -25,10 +25,13 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="!sys-libs/libunwind"
 # llvm-6 for new lit options
+# tests need libcxx with implicit -lunwind and libcxxabi
+# (but libcxx does not need to be built against it)
 DEPEND="
        >=sys-devel/llvm-6
        test? (
-               sys-libs/libcxx[${MULTILIB_USEDEP}]
+               sys-libs/libcxx[libunwind,${MULTILIB_USEDEP}]
+               sys-libs/libcxxabi
                $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
 
 S=${WORKDIR}/${MY_P}
index 789d9a6d71c7399382b9065781dc13e32e2f23bd..6eb95d733fc2b997285325e14d023d66bc56e826 100644 (file)
@@ -24,10 +24,13 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="!sys-libs/libunwind"
 # llvm-6 for new lit options
+# tests need libcxx with implicit -lunwind and libcxxabi
+# (but libcxx does not need to be built against it)
 DEPEND="
        >=sys-devel/llvm-6
        test? (
-               sys-libs/libcxx[${MULTILIB_USEDEP}]
+               sys-libs/libcxx[libunwind,${MULTILIB_USEDEP}]
+               sys-libs/libcxxabi
                $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
 
 # least intrusive of all
index c16358fe4c623f749ef80c7c7d541c9165d2b4d7..387b8c31086c2f2bcb798850caeea5aba2309df5 100644 (file)
@@ -23,10 +23,13 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="!sys-libs/libunwind"
 # llvm-6 for new lit options
+# tests need libcxx with implicit -lunwind and libcxxabi
+# (but libcxx does not need to be built against it)
 DEPEND="
        >=sys-devel/llvm-6
        test? (
-               sys-libs/libcxx[${MULTILIB_USEDEP}]
+               sys-libs/libcxx[libunwind,${MULTILIB_USEDEP}]
+               sys-libs/libcxxabi
                $(python_gen_any_dep 'dev-python/lit[${PYTHON_USEDEP}]') )"
 
 # least intrusive of all