Gentoo Archives: gentoo-commits

From: Benda XU <heroxbd@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Thu, 09 Feb 2017 11:25:01
Message-Id: 1486639251.ba1dfb56bbb8fc5b4ebfd7fd57891aea64b9e71b.heroxbd@gentoo
1 commit: ba1dfb56bbb8fc5b4ebfd7fd57891aea64b9e71b
2 Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 9 11:20:51 2017 +0000
4 Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 9 11:20:51 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba1dfb56
7
8 java-utils-2.eclass: use is not available in the global scope.
9
10 Java ebuilds using EAPI<3 will not be correctly prefixified.
11 We will deal with that by bumping EAPI per package.
12
13 eclass/java-utils-2.eclass | 4 ++--
14 1 file changed, 2 insertions(+), 2 deletions(-)
15
16 diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
17 index c6132199f0..d2af9f292a 100644
18 --- a/eclass/java-utils-2.eclass
19 +++ b/eclass/java-utils-2.eclass
20 @@ -23,8 +23,8 @@ IUSE="elibc_FreeBSD"
21 # Make sure we use java-config-2
22 export WANT_JAVA_CONFIG="2"
23
24 -# Prefix variables is only available for EAPI>=3
25 -!use prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}" EPREFIX= EROOT="${ROOT}"
26 +# Prefix variables are only available for EAPI>=3
27 +has "${EAPI:-0}" 0 1 2 && ED="${D}" EPREFIX= EROOT="${ROOT}"
28
29 # @VARIABLE: JAVA_PKG_PORTAGE_DEP
30 # @INTERNAL