sys-libs/ncurses: Restrict has_version check to slot 0
authorMike Gilbert <floppym@gentoo.org>
Sun, 30 Aug 2015 01:47:02 +0000 (21:47 -0400)
committerMike Gilbert <floppym@gentoo.org>
Sun, 30 Aug 2015 01:47:15 +0000 (21:47 -0400)
Otherwise, we match against sys-libs/ncurses-6.0:5/6, which does not
include the tic command.

Package-Manager: portage-2.2.20

sys-libs/ncurses/ncurses-6.0-r1.ebuild

index 977da6d833488230a05c5d6a10b60342fa16b450..245d977593f1f9fc89d221f6842b9d19154a721a 100644 (file)
@@ -67,7 +67,7 @@ src_configure() {
        # This comes up when cross-compiling, doing multilib builds, upgrading,
        # or installing for the first time.  Build a local copy of tic whenever
        # the host version isn't available. #249363 #557598
-       if ! ROOT=/ has_version "~sys-libs/${P}" ; then
+       if ! ROOT=/ has_version "~sys-libs/${P}:0" ; then
                # We can't re-use the multilib BUILD_DIR because we run outside of it.
                BUILD_DIR="${WORKDIR}" \
                CHOST=${CBUILD} \