commit:     c8edfb067c1ba572a4100ed2699c288245f2a9e2
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 23 17:19:11 2016 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jul 23 17:22:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8edfb06

sys-devel/llvm: Strip third version component for subslot, in -9999

Strip the third version component (if there is any) for subslot value,
therefore ensuring that e.g. 3.9.* will have subslot 3.9. This is not
relevant to the -9999 ebuild but hopefully it will prevent me from
forgetting to finally do this on next release.

 sys-devel/llvm/llvm-9999.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-devel/llvm/llvm-9999.ebuild b/sys-devel/llvm/llvm-9999.ebuild
index cb77817..c0cd607 100644
--- a/sys-devel/llvm/llvm-9999.ebuild
+++ b/sys-devel/llvm/llvm-9999.ebuild
@@ -18,7 +18,7 @@ EGIT_REPO_URI="http://llvm.org/git/llvm.git
        https://github.com/llvm-mirror/llvm.git";
 
 LICENSE="UoI-NCSA"
-SLOT="0/${PV}"
+SLOT="0/${PV%.*}"
 KEYWORDS=""
 IUSE="clang debug +doc gold libedit +libffi lldb multitarget ncurses ocaml
        python +static-analyzer test xml video_cards_radeon

Reply via email to