Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-libs/ncurses/
Date: Tue, 24 Nov 2015 17:31:48
Message-Id: 1448386212.60687094052f6401808b6931746a4201957c2156.vapier@gentoo
1 commit: 60687094052f6401808b6931746a4201957c2156
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 24 17:30:12 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 24 17:30:12 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60687094
7
8 sys-libs/ncurses: use the same has_version test #566008
9
10 The previous commit f5b7039a9bc8c63240340b947c80393e92e21afe added the
11 :0 slot qualifier to the first has_version test but not to the second.
12 This breaks when building ncurses-6.0:0 on a system that has SLOT=5
13 already installed.
14
15 sys-libs/ncurses/ncurses-6.0-r1.ebuild | 2 +-
16 1 file changed, 1 insertion(+), 1 deletion(-)
17
18 diff --git a/sys-libs/ncurses/ncurses-6.0-r1.ebuild b/sys-libs/ncurses/ncurses-6.0-r1.ebuild
19 index 9b56138..47c80c4 100644
20 --- a/sys-libs/ncurses/ncurses-6.0-r1.ebuild
21 +++ b/sys-libs/ncurses/ncurses-6.0-r1.ebuild
22 @@ -188,7 +188,7 @@ do_configure() {
23
24 src_compile() {
25 # See comments in src_configure.
26 - if ! ROOT=/ has_version "~sys-libs/${P}" ; then
27 + if ! ROOT=/ has_version "~sys-libs/${P}:0" ; then
28 BUILD_DIR="${WORKDIR}" \
29 do_compile cross -C progs tic
30 fi