summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2009-02-09 23:01:51 +0000
committerVlastimil Babka <caster@gentoo.org>2009-02-09 23:01:51 +0000
commit0781cf7bca5f4d027f8c7ef539b26eee54002920 (patch)
treebb4324402c119ecf01922d9334bf36f3ac3590db /eclass
parentSome stylistyc changes to FBreader; thanks to pva =) (diff)
downloadgentoo-2-0781cf7bca5f4d027f8c7ef539b26eee54002920.tar.gz
gentoo-2-0781cf7bca5f4d027f8c7ef539b26eee54002920.tar.bz2
gentoo-2-0781cf7bca5f4d027f8c7ef539b26eee54002920.zip
Pull java-config-1.3 only for VM's that support gen1, bug #176784.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/java-vm-2.eclass11
1 files changed, 8 insertions, 3 deletions
diff --git a/eclass/java-vm-2.eclass b/eclass/java-vm-2.eclass
index 9a4561677634..7ec5a8fad38c 100644
--- a/eclass/java-vm-2.eclass
+++ b/eclass/java-vm-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.24 2009/02/08 21:42:27 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-vm-2.eclass,v 1.25 2009/02/09 23:01:51 caster Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -18,8 +18,13 @@ DEPEND="
=dev-java/java-config-2*
>=sys-apps/portage-2.1"
RDEPEND="
- =dev-java/java-config-2*
- =dev-java/java-config-1.3*"
+ =dev-java/java-config-2*"
+
+# bug #176784
+if [[ ${JAVA_SUPPORTS_GENERATION_1} == 'true' && ${JAVA_VM_NO_GENERATION1} != 'true' ]]; then
+ DEPEND="${DEPEND} =dev-java/java-config-1.3*"
+ RDEPEND="${RDEPEND} =dev-java/java-config-1.3*"
+fi
export WANT_JAVA_CONFIG=2