From: Michał Górny Date: Mon, 30 Jan 2017 08:15:39 +0000 (+0100) Subject: sys-devel/clang-runtime: Add slotted version X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=0e9129c080110d20afb850835db2fb14852634a3;p=gentoo.git sys-devel/clang-runtime: Add slotted version --- diff --git a/sys-devel/clang-runtime/clang-runtime-4.0.0_rc1.ebuild b/sys-devel/clang-runtime/clang-runtime-4.0.0_rc1-r1.ebuild similarity index 81% rename from sys-devel/clang-runtime/clang-runtime-4.0.0_rc1.ebuild rename to sys-devel/clang-runtime/clang-runtime-4.0.0_rc1-r1.ebuild index 5acf530ff212..5b6baf94371c 100644 --- a/sys-devel/clang-runtime/clang-runtime-4.0.0_rc1.ebuild +++ b/sys-devel/clang-runtime/clang-runtime-4.0.0_rc1-r1.ebuild @@ -11,14 +11,14 @@ HOMEPAGE="http://clang.llvm.org/" SRC_URI="" LICENSE="metapackage" -SLOT="0" +SLOT="${PV%_*}" KEYWORDS="~amd64 ~arm64 ~x86" IUSE="+compiler-rt libcxx openmp +sanitize" RDEPEND=" compiler-rt? ( - ~sys-libs/compiler-rt-${PV} - sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV} ) + ~sys-libs/compiler-rt-${PV}:${SLOT} + sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} ) ) libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )" diff --git a/sys-devel/clang-runtime/clang-runtime-9999.ebuild b/sys-devel/clang-runtime/clang-runtime-9999.ebuild index dd325de97a95..b23e4e08527b 100644 --- a/sys-devel/clang-runtime/clang-runtime-9999.ebuild +++ b/sys-devel/clang-runtime/clang-runtime-9999.ebuild @@ -11,14 +11,15 @@ HOMEPAGE="http://clang.llvm.org/" SRC_URI="" LICENSE="metapackage" -SLOT="0" +# Note: keep it matching clang-9999 version +SLOT="5.0.0" KEYWORDS="" IUSE="+compiler-rt libcxx openmp +sanitize" RDEPEND=" compiler-rt? ( - ~sys-libs/compiler-rt-${PV} - sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV} ) + ~sys-libs/compiler-rt-${PV}:${SLOT} + sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} ) ) libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"