summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-10-22 10:08:44 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-10-22 10:08:44 +0000
commita7cf4539ba042ec68453568d6d9074e115ef38ce (patch)
tree1d3e29794916f68a39b22bbebf7787db597be164 /eclass
parentAdded USE=mp4 back to support mp4 containers (bug #387961 by frostyplanet at ... (diff)
downloadhistorical-a7cf4539ba042ec68453568d6d9074e115ef38ce.tar.gz
historical-a7cf4539ba042ec68453568d6d9074e115ef38ce.tar.bz2
historical-a7cf4539ba042ec68453568d6d9074e115ef38ce.zip
Check if the jruby is also in IUSE before checking if it is enabled.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-ng.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass
index 87b9ca915b92..d31253b50817 100644
--- a/eclass/ruby-ng.eclass
+++ b/eclass/ruby-ng.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.41 2011/10/21 06:48:24 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-ng.eclass,v 1.42 2011/10/22 10:08:44 scarabeus Exp $
# @ECLASS: ruby-ng.eclass
# @MAINTAINER:
@@ -400,7 +400,7 @@ ruby-ng_pkg_setup() {
# it's a special case.
_ruby_each_implementation
- use ruby_targets_jruby && java-pkg_setup-vm
+ has ruby_targets_jruby ${IUSE} && use ruby_targets_jruby && java-pkg_setup-vm
}
# @FUNCTION: ruby-ng_src_unpack