summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorVlastimil Babka <caster@gentoo.org>2010-04-01 22:29:28 +0000
committerVlastimil Babka <caster@gentoo.org>2010-04-01 22:29:28 +0000
commit2d5ad556903f89bfd7071113628bd55ac9535bf1 (patch)
treeea35890011d788ce19624d884b31ccaa29d19c03 /eclass
parentRemove mysql mask (bug #303747 comment #15). (diff)
downloadgentoo-2-2d5ad556903f89bfd7071113628bd55ac9535bf1.tar.gz
gentoo-2-2d5ad556903f89bfd7071113628bd55ac9535bf1.tar.bz2
gentoo-2-2d5ad556903f89bfd7071113628bd55ac9535bf1.zip
Allow JAVA_PKG_NV_DEPEND override in java-pkg_needs-vm()
Diffstat (limited to '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 51d53150383d..785063ac102e 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.133 2010/03/24 12:11:05 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/java-utils-2.eclass,v 1.134 2010/04/01 22:29:28 caster Exp $
# -----------------------------------------------------------------------------
# @eclass-begin
@@ -2484,7 +2484,7 @@ java-pkg_setup-vm() {
java-pkg_needs-vm() {
debug-print-function ${FUNCNAME} $*
- if [[ -n "$(echo ${DEPEND} | sed -e '\:virtual/jdk:!d')" ]]; then
+ if [[ -n "$(echo ${JAVA_PKG_NV_DEPEND:-${DEPEND}} | sed -e '\:virtual/jdk:!d')" ]]; then
return 0
fi