sys-libs/libcxx: Fix live conditions in 5.0.9999
authorMichał Górny <mgorny@gentoo.org>
Mon, 24 Jul 2017 19:13:37 +0000 (21:13 +0200)
committerMichał Górny <mgorny@gentoo.org>
Mon, 24 Jul 2017 19:13:50 +0000 (21:13 +0200)
sys-libs/libcxx/libcxx-5.0.9999.ebuild

index 625b356853704aca1a1462c46dfbec23fa6856af..fde85c232023a6dd7afc324bed0b9f63da06bc34 100644 (file)
@@ -13,13 +13,13 @@ EGIT_REPO_URI="https://git.llvm.org/git/libcxx.git
 EGIT_BRANCH="release_50"
 PYTHON_COMPAT=( python2_7 )
 
-[[ ${PV} == 9999 ]] && SCM="git-r3" || SCM=""
+[[ ${PV} == *9999 ]] && SCM="git-r3" || SCM=""
 
 inherit ${SCM} cmake-multilib llvm python-any-r1 toolchain-funcs
 
 DESCRIPTION="New implementation of the C++ standard library, targeting C++11"
 HOMEPAGE="https://libcxx.llvm.org/"
-if [[ ${PV} != 9999 ]] ; then
+if [[ ${PV} != *9999 ]] ; then
        SRC_URI="https://llvm.org/releases/${PV}/${P}.src.tar.xz"
        S="${WORKDIR}/${P}.src"
 else
@@ -28,7 +28,7 @@ fi
 
 LICENSE="|| ( UoI-NCSA MIT )"
 SLOT="0"
-if [[ ${PV} != 9999 ]] ; then
+if [[ ${PV} != *9999 ]] ; then
        KEYWORDS="~amd64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
 else
        KEYWORDS=""