commit:     0e9129c080110d20afb850835db2fb14852634a3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 30 08:15:39 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Feb 15 12:47:19 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9129c0

sys-devel/clang-runtime: Add slotted version

 ...-runtime-4.0.0_rc1.ebuild => clang-runtime-4.0.0_rc1-r1.ebuild} | 6 +++---
 sys-devel/clang-runtime/clang-runtime-9999.ebuild                  | 7 ++++---
 2 files changed, 7 insertions(+), 6 deletions(-)

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 5acf530ff2..5b6baf9437 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 dd325de97a..b23e4e0852 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}] )"

Reply via email to