From a7cf4539ba042ec68453568d6d9074e115ef38ce Mon Sep 17 00:00:00 2001 From: Tomas Chvatal Date: Sat, 22 Oct 2011 10:08:44 +0000 Subject: [PATCH] Check if the jruby is also in IUSE before checking if it is enabled. --- eclass/ruby-ng.eclass | 4 ++-- 1 file 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 -- 2.26.2