sys-devel/clang-runtime: Add slotted version
authorMichał Górny <mgorny@gentoo.org>
Mon, 30 Jan 2017 08:15:39 +0000 (09:15 +0100)
committerMichał Górny <mgorny@gentoo.org>
Wed, 15 Feb 2017 12:47:19 +0000 (13:47 +0100)
sys-devel/clang-runtime/clang-runtime-4.0.0_rc1-r1.ebuild [moved from sys-devel/clang-runtime/clang-runtime-4.0.0_rc1.ebuild with 81% similarity]
sys-devel/clang-runtime/clang-runtime-9999.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 5acf530ff2127d794b2313cea65b8c20914ec692..5b6baf94371c714bc14330c1b4a46daed3ad60cb 100644 (file)
@@ -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}] )"
index dd325de97a9533022b64c95f7e275c7a49caac98..b23e4e08527b8d7bf9ce3755de4870872ffd1d2a 100644 (file)
@@ -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}] )"