summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2017-02-09 20:20:51 +0900
committerBenda Xu <heroxbd@gentoo.org>2017-02-09 20:20:51 +0900
commitba1dfb56bbb8fc5b4ebfd7fd57891aea64b9e71b (patch)
tree2e0bf8208800f99a452fa0e6cf653ff69ee53c33 /eclass/java-utils-2.eclass
parenteclass/java-utils-2.eclass: support Prefix. (diff)
downloadgentoo-ba1dfb56bbb8fc5b4ebfd7fd57891aea64b9e71b.tar.gz
gentoo-ba1dfb56bbb8fc5b4ebfd7fd57891aea64b9e71b.tar.bz2
gentoo-ba1dfb56bbb8fc5b4ebfd7fd57891aea64b9e71b.zip
java-utils-2.eclass: use is not available in the global scope.
Java ebuilds using EAPI<3 will not be correctly prefixified. We will deal with that by bumping EAPI per package.
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index c6132199f098..d2af9f292a37 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -23,8 +23,8 @@ IUSE="elibc_FreeBSD"
# Make sure we use java-config-2
export WANT_JAVA_CONFIG="2"
-# Prefix variables is only available for EAPI>=3
-!use prefix && has "${EAPI:-0}" 0 1 2 && ED="${D}" EPREFIX= EROOT="${ROOT}"
+# Prefix variables are only available for EAPI>=3
+has "${EAPI:-0}" 0 1 2 && ED="${D}" EPREFIX= EROOT="${ROOT}"
# @VARIABLE: JAVA_PKG_PORTAGE_DEP
# @INTERNAL