From 60687094052f6401808b6931746a4201957c2156 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Tue, 24 Nov 2015 12:30:12 -0500 Subject: [PATCH] sys-libs/ncurses: use the same has_version test #566008 The previous commit f5b7039a9bc8c63240340b947c80393e92e21afe added the :0 slot qualifier to the first has_version test but not to the second. This breaks when building ncurses-6.0:0 on a system that has SLOT=5 already installed. --- sys-libs/ncurses/ncurses-6.0-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-libs/ncurses/ncurses-6.0-r1.ebuild b/sys-libs/ncurses/ncurses-6.0-r1.ebuild index 9b5613869e45..47c80c494307 100644 --- a/sys-libs/ncurses/ncurses-6.0-r1.ebuild +++ b/sys-libs/ncurses/ncurses-6.0-r1.ebuild @@ -188,7 +188,7 @@ do_configure() { src_compile() { # See comments in src_configure. - if ! ROOT=/ has_version "~sys-libs/${P}" ; then + if ! ROOT=/ has_version "~sys-libs/${P}:0" ; then BUILD_DIR="${WORKDIR}" \ do_compile cross -C progs tic fi -- 2.26.2