diff options
author | Alexander Kanavin <alexander.kanavin@linux.intel.com> | 2015-06-04 13:17:31 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-12 22:48:26 +0100 |
commit | 206049f609f4d4dc5b6e3d0f3c17b939fe8694fc (patch) | |
tree | cf20ebe1e9fa59ba6ee78a1fae6e69b61e6400bb /meta/recipes-devtools/ruby/ruby | |
parent | 5198ec99e2a5777806f22f3c864ae4fde5112344 (diff) | |
download | poky-206049f609f4d4dc5b6e3d0f3c17b939fe8694fc.tar.gz |
ruby: add a recipe from meta-ruby
Ruby is required to build webkit.
Use trim_version() to build the major release, and remove redundant S assignment
(RB).
(From OE-Core rev: 10fd3b41449d1af15ac9432bc1a7fe26c6f1dae1)
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby')
-rw-r--r-- | meta/recipes-devtools/ruby/ruby/extmk.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/extmk.patch b/meta/recipes-devtools/ruby/ruby/extmk.patch new file mode 100644 index 0000000000..8b68450341 --- /dev/null +++ b/meta/recipes-devtools/ruby/ruby/extmk.patch | |||
@@ -0,0 +1,13 @@ | |||
1 | diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb | ||
2 | --- ruby-1.8.7-p248.orig/ext/extmk.rb 2009-12-24 03:01:58.000000000 -0600 | ||
3 | +++ ruby-1.8.7-p248/ext/extmk.rb 2010-02-12 15:55:27.370061558 -0600 | ||
4 | @@ -354,8 +354,8 @@ | ||
5 | $ruby = '$(topdir)/miniruby' + EXEEXT | ||
6 | end | ||
7 | $ruby << " -I'$(topdir)'" | ||
8 | +$ruby << " -I'$(top_srcdir)/lib'" | ||
9 | unless CROSS_COMPILING | ||
10 | - $ruby << " -I'$(top_srcdir)/lib'" | ||
11 | $ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout | ||
12 | $ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb" | ||
13 | ENV["RUBYLIB"] = "-" | ||