Signed-off-by: Anna Vyalkova <
cyber+gentoo@sysrq.in>
---
eclass/ruby-ng-gnome2.eclass | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/eclass/ruby-ng-gnome2.eclass b/eclass/ruby-ng-gnome2.eclass
index cc475b36b731..732cf9c96b3a 100644
--- a/eclass/ruby-ng-gnome2.eclass
+++ b/eclass/ruby-ng-gnome2.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# @ECLASS: ruby-ng-gnome2.eclass
@@ -82,6 +82,8 @@ all_ruby_prepare() {
# @DESCRIPTION:
# Run the configure script in the subbinding for each specific ruby target.
each_ruby_configure() {
+ debug-print-function ${FUNCNAME} "${@}"
+
[[ -e extconf.rb ]] || return
${RUBY} extconf.rb || die "extconf.rb failed"
@@ -91,6 +93,8 @@ each_ruby_configure() {
# @DESCRIPTION:
# Compile the C bindings in the subbinding for each specific ruby target.
each_ruby_compile() {
+ debug-print-function ${FUNCNAME} "${@}"
+
[[ -e Makefile ]] || return