summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2009-02-14 13:02:55 +0000
committerFabian Groffen <grobian@gentoo.org>2009-02-14 13:02:55 +0000
commit2c234bbcf7691a8957c6386c394fb2f48f8a642c (patch)
tree376f9db422082cb8e7d4cd7a9b1ac510775b96f3 /eclass/java-utils-2.eclass
parentsync profiles (diff)
downloadprefix-2c234bbcf7691a8957c6386c394fb2f48f8a642c.tar.gz
prefix-2c234bbcf7691a8957c6386c394fb2f48f8a642c.tar.bz2
prefix-2c234bbcf7691a8957c6386c394fb2f48f8a642c.zip
sync eclasses
Diffstat (limited to 'eclass/java-utils-2.eclass')
-rw-r--r--eclass/java-utils-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/java-utils-2.eclass b/eclass/java-utils-2.eclass
index 0b212344dc..f133fde968 100644
--- a/eclass/java-utils-2.eclass
+++ b/eclass/java-utils-2.eclass
@@ -6,7 +6,7 @@
#
# Licensed under the GNU General Public License, v2
#
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.120 2008/12/29 00:16:40 caster Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.121 2009/02/11 16:13:38 betelgeuse Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -61,9 +61,9 @@ export WANT_JAVA_CONFIG="2"
#
# The version of portage we need to function properly. Previously it was
# portage with phase hooks support but now we use a version with proper env
-# saving.
+# saving. For EAPI 2 we have new enough stuff so let's have cleaner deps.
# -----------------------------------------------------------------------------
-JAVA_PKG_PORTAGE_DEP=">=sys-apps/portage-2.1.2.7"
+hasq "${EAPI//prefix }" 0 1 && JAVA_PKG_PORTAGE_DEP=">=sys-apps/portage-2.1.2.7"
# -----------------------------------------------------------------------------
# @variable-internal JAVA_PKG_E_DEPEND