From 900dd293f8087dff1643b45d7b836702a9ea8fd9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 8 Apr 2023 23:33:13 +0100 Subject: gentoo auto-resync : 08:04:2023 - 23:33:13 --- eclass/ruby-single.eclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'eclass/ruby-single.eclass') diff --git a/eclass/ruby-single.eclass b/eclass/ruby-single.eclass index 035675c4810a..5f6cf9e46dce 100644 --- a/eclass/ruby-single.eclass +++ b/eclass/ruby-single.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ruby-single.eclass @@ -72,10 +72,13 @@ _ruby_single_implementations_depend() { local depend for _ruby_implementation in ${RUBY_TARGETS_PREFERENCE}; do if [[ ${USE_RUBY} =~ ${_ruby_implementation} ]]; then - depend="${depend} $(_ruby_implementation_depend $_ruby_implementation)" + depend+=" (" + depend+=" $(_ruby_implementation_depend $_ruby_implementation)" + depend+=" virtual/rubygems[ruby_targets_${_ruby_implementation}(-)]" + depend+=" )" fi done - echo "|| ( ${depend} ) virtual/rubygems" + echo "|| ( ${depend} )" } _ruby_single_set_globals() { -- cgit v1.2.3