1 |
commit: 0e9129c080110d20afb850835db2fb14852634a3 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 30 08:15:39 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 15 12:47:19 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9129c0 |
7 |
|
8 |
sys-devel/clang-runtime: Add slotted version |
9 |
|
10 |
...-runtime-4.0.0_rc1.ebuild => clang-runtime-4.0.0_rc1-r1.ebuild} | 6 +++--- |
11 |
sys-devel/clang-runtime/clang-runtime-9999.ebuild | 7 ++++--- |
12 |
2 files changed, 7 insertions(+), 6 deletions(-) |
13 |
|
14 |
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 |
15 |
similarity index 81% |
16 |
rename from sys-devel/clang-runtime/clang-runtime-4.0.0_rc1.ebuild |
17 |
rename to sys-devel/clang-runtime/clang-runtime-4.0.0_rc1-r1.ebuild |
18 |
index 5acf530ff2..5b6baf9437 100644 |
19 |
--- a/sys-devel/clang-runtime/clang-runtime-4.0.0_rc1.ebuild |
20 |
+++ b/sys-devel/clang-runtime/clang-runtime-4.0.0_rc1-r1.ebuild |
21 |
@@ -11,14 +11,14 @@ HOMEPAGE="http://clang.llvm.org/" |
22 |
SRC_URI="" |
23 |
|
24 |
LICENSE="metapackage" |
25 |
-SLOT="0" |
26 |
+SLOT="${PV%_*}" |
27 |
KEYWORDS="~amd64 ~arm64 ~x86" |
28 |
IUSE="+compiler-rt libcxx openmp +sanitize" |
29 |
|
30 |
RDEPEND=" |
31 |
compiler-rt? ( |
32 |
- ~sys-libs/compiler-rt-${PV} |
33 |
- sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV} ) |
34 |
+ ~sys-libs/compiler-rt-${PV}:${SLOT} |
35 |
+ sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} ) |
36 |
) |
37 |
libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) |
38 |
openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )" |
39 |
|
40 |
diff --git a/sys-devel/clang-runtime/clang-runtime-9999.ebuild b/sys-devel/clang-runtime/clang-runtime-9999.ebuild |
41 |
index dd325de97a..b23e4e0852 100644 |
42 |
--- a/sys-devel/clang-runtime/clang-runtime-9999.ebuild |
43 |
+++ b/sys-devel/clang-runtime/clang-runtime-9999.ebuild |
44 |
@@ -11,14 +11,15 @@ HOMEPAGE="http://clang.llvm.org/" |
45 |
SRC_URI="" |
46 |
|
47 |
LICENSE="metapackage" |
48 |
-SLOT="0" |
49 |
+# Note: keep it matching clang-9999 version |
50 |
+SLOT="5.0.0" |
51 |
KEYWORDS="" |
52 |
IUSE="+compiler-rt libcxx openmp +sanitize" |
53 |
|
54 |
RDEPEND=" |
55 |
compiler-rt? ( |
56 |
- ~sys-libs/compiler-rt-${PV} |
57 |
- sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV} ) |
58 |
+ ~sys-libs/compiler-rt-${PV}:${SLOT} |
59 |
+ sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} ) |
60 |
) |
61 |
libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] ) |
62 |
openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )" |