diff options
Diffstat (limited to 'meta-ruby/recipes-devtools/ruby/ruby/remove-the-dependency-on-dir.patch')
-rw-r--r-- | meta-ruby/recipes-devtools/ruby/ruby/remove-the-dependency-on-dir.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/meta-ruby/recipes-devtools/ruby/ruby/remove-the-dependency-on-dir.patch b/meta-ruby/recipes-devtools/ruby/ruby/remove-the-dependency-on-dir.patch new file mode 100644 index 000000000..a4ac3eacc --- /dev/null +++ b/meta-ruby/recipes-devtools/ruby/ruby/remove-the-dependency-on-dir.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | remove a duplicate dependency | ||
2 | |||
3 | Upstream-status: Pending | ||
4 | |||
5 | The install-rb-default dependency is as below: | ||
6 | |||
7 | pre-install-rb-default: | ||
8 | mkdir -p $(RUBYLIBDIR)/bigdecimal | ||
9 | |||
10 | install-rb-default: pre-install-rb-default $(RUBYLIBDIR)/bigdecimal | ||
11 | |||
12 | In fact, dependency on $(RUBYLIBDIR)/bigdecimal is duplicate, and not rule | ||
13 | for $(RUBYLIBDIR)/bigdecimal, once $(RUBYLIBDIR)/bigdecimal is checked before | ||
14 | pre-install-rb-default, the below error will happen | ||
15 | *** No rule to make target `../../.ext/common/yaml', needed by `install-rb-default'. Stop | ||
16 | |||
17 | Signed-off-by: Roy Li <rongqing.li@windriver.com> | ||
18 | --- | ||
19 | lib/mkmf.rb | 2 +- | ||
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
21 | |||
22 | diff --git a/lib/mkmf.rb b/lib/mkmf.rb | ||
23 | index 1f5ed76..556684c 100644 | ||
24 | --- a/lib/mkmf.rb | ||
25 | +++ b/lib/mkmf.rb | ||
26 | @@ -2054,7 +2054,7 @@ static: $(STATIC_LIB)#{$extout ? " install-rb" : ""} | ||
27 | end | ||
28 | for f in files | ||
29 | dest = "#{dir}/#{File.basename(f)}" | ||
30 | - mfile.print("install-rb#{sfx}: #{dest} #{dir}\n") | ||
31 | + mfile.print("install-rb#{sfx}: #{dest}\n") | ||
32 | mfile.print("#{dest}: #{f}\n") | ||
33 | mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D#{sep})\n") | ||
34 | if defined?($installed_list) and !$extout | ||
35 | -- | ||
36 | 1.7.10.4 | ||
37 | |||