commit: 23a70d8c83fce350597181a906e49765c09dac03
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon May 11 18:26:10 2015 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon May 11 18:26:10 2015 +0000
URL: https://gitweb.gentoo.org/proj/ruby-overlay.git/commit/?id=23a70d8c
Add a _RUBY_SINGLE guard to avoid multiple inclusion.
eclass/ruby-single.eclass | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/eclass/ruby-single.eclass b/eclass/ruby-single.eclass
index af96245..1570052 100644
--- a/eclass/ruby-single.eclass
+++ b/eclass/ruby-single.eclass
@@ -25,6 +25,8 @@ case "${EAPI:-0}" in
;;
esac
+if [[ ! ${_RUBY_SINGLE} ]]; then
+
inherit ruby-utils
# @ECLASS-VARIABLE: USE_RUBY
@@ -69,3 +71,7 @@ _ruby_single_set_globals() {
RUBY_DEPS=$(_ruby_single_implementations_depend)
}
_ruby_single_set_globals
+
+
+_RUBY_SINGLE=1
+fi