1 |
From: Hans de Graaff <graaff@g.o> |
2 |
|
3 |
Explicitly list old EAPIs but use a wildcard for the latest EAPI, so |
4 |
that these changes will also be used by default in newer EAPIs. |
5 |
|
6 |
Signed-off-by: Hans de Graaff <graaff@g.o> |
7 |
--- |
8 |
eclass/ruby-ng.eclass | 6 ++++-- |
9 |
1 file changed, 4 insertions(+), 2 deletions(-) |
10 |
|
11 |
diff --git a/eclass/ruby-ng.eclass b/eclass/ruby-ng.eclass |
12 |
index facb0bea95d7..edf17fb94746 100644 |
13 |
--- a/eclass/ruby-ng.eclass |
14 |
+++ b/eclass/ruby-ng.eclass |
15 |
@@ -416,7 +416,7 @@ _ruby_apply_patches() { |
16 |
fi |
17 |
done |
18 |
;; |
19 |
- 6) |
20 |
+ *) |
21 |
if [[ -n ${RUBY_PATCHES[@]} ]]; then |
22 |
eqawarn "RUBY_PATCHES is no longer supported, use PATCHES instead" |
23 |
fi |
24 |
@@ -448,7 +448,9 @@ ruby-ng_src_prepare() { |
25 |
|
26 |
# Handle PATCHES and user supplied patches via the default phase |
27 |
case ${EAPI} in |
28 |
- 6) |
29 |
+ 4|5) |
30 |
+ ;; |
31 |
+ *) |
32 |
_ruby_invoke_environment all default |
33 |
;; |
34 |
esac |
35 |
-- |
36 |
2.21.0 |