sys-devel/clang: Raise libcxx dep for USE=default-libcxx
authorMichał Górny <mgorny@gentoo.org>
Fri, 9 Mar 2018 22:58:54 +0000 (23:58 +0100)
committerMichał Górny <mgorny@gentoo.org>
Fri, 9 Mar 2018 23:11:25 +0000 (00:11 +0100)
Require the same or newer sys-libs/libcxx version when 'default-libcxx'
flag is used. This may reduce the risk of libc++ version problems
on pure libc++ systems (e.g. FreeBSD) by promoting early libc++ upgrade,
and it is consistent with the dependency in sys-devel/clang-runtime.

sys-devel/clang/clang-4.0.1.ebuild
sys-devel/clang/clang-5.0.1.ebuild
sys-devel/clang/clang-6.0.0.ebuild
sys-devel/clang/clang-6.0.9999.ebuild
sys-devel/clang/clang-9999.ebuild

index f600ff571c2184861ca573b93b9f2820b9beafc1..6c37d1fd959483050d5a7d8105f86f846c6857f2 100644 (file)
@@ -47,7 +47,7 @@ RDEPEND="${RDEPEND}
 PDEPEND="
        ~sys-devel/clang-runtime-${PV}
        default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
-       default-libcxx? ( sys-libs/libcxx )"
+       default-libcxx? ( >=sys-libs/libcxx-${PV} )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        || ( ${ALL_LLVM_TARGETS[*]} )"
index f215ab8b200232ad6fd1d9e90dd060e4882dee95..4c30e033af76dd8d5d50d5009a466bca03c18fe0 100644 (file)
@@ -54,7 +54,7 @@ RDEPEND="${RDEPEND}
 PDEPEND="
        ~sys-devel/clang-runtime-${PV}
        default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
-       default-libcxx? ( sys-libs/libcxx )"
+       default-libcxx? ( >=sys-libs/libcxx-${PV} )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        || ( ${ALL_LLVM_TARGETS[*]} )"
index 36d8549e27a47d29eb6106bc5c083174e65c89a1..e6a5cb693b98136c19e2c77dae86d4fee1cc625d 100644 (file)
@@ -56,7 +56,7 @@ RDEPEND="${RDEPEND}
 PDEPEND="
        ~sys-devel/clang-runtime-${PV}
        default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
-       default-libcxx? ( sys-libs/libcxx )"
+       default-libcxx? ( >=sys-libs/libcxx-${PV} )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        || ( ${ALL_LLVM_TARGETS[*]} )"
index a9edb3ec6a20b522eae80273e7f82ce309b95986..dc71018329124e5125023a0223d30cf479fb10a2 100644 (file)
@@ -52,7 +52,7 @@ RDEPEND="${RDEPEND}
 PDEPEND="
        ~sys-devel/clang-runtime-${PV}
        default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
-       default-libcxx? ( sys-libs/libcxx )"
+       default-libcxx? ( >=sys-libs/libcxx-${PV} )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        || ( ${ALL_LLVM_TARGETS[*]} )"
index 015b5639dbf23b052e60b8398bfe5303601ed786..0014ecde46b2b9104997b7bb1d034113bbb12415 100644 (file)
@@ -53,7 +53,7 @@ RDEPEND="${RDEPEND}
 PDEPEND="
        ~sys-devel/clang-runtime-${PV}
        default-compiler-rt? ( =sys-libs/compiler-rt-${PV%_*}* )
-       default-libcxx? ( sys-libs/libcxx )"
+       default-libcxx? ( >=sys-libs/libcxx-${PV} )"
 
 REQUIRED_USE="${PYTHON_REQUIRED_USE}
        || ( ${ALL_LLVM_TARGETS[*]} )"