sys-devel/llvm: Strip third version component for subslot, in -9999
authorMichał Górny <mgorny@gentoo.org>
Sat, 23 Jul 2016 17:19:11 +0000 (19:19 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 23 Jul 2016 17:22:08 +0000 (19:22 +0200)
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

index cb7781714431ff8aa686e6aba60d1e24439a790f..c0cd607ad99dde1f6257440e65e18ff199355275 100644 (file)
@@ -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