From 10fd3b41449d1af15ac9432bc1a7fe26c6f1dae1 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Thu, 4 Jun 2015 13:17:31 +0300 Subject: 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). Signed-off-by: Alexander Kanavin Signed-off-by: Ross Burton --- meta/recipes-devtools/ruby/ruby/extmk.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta/recipes-devtools/ruby/ruby/extmk.patch (limited to 'meta/recipes-devtools/ruby/ruby') 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 @@ +diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb +--- ruby-1.8.7-p248.orig/ext/extmk.rb 2009-12-24 03:01:58.000000000 -0600 ++++ ruby-1.8.7-p248/ext/extmk.rb 2010-02-12 15:55:27.370061558 -0600 +@@ -354,8 +354,8 @@ + $ruby = '$(topdir)/miniruby' + EXEEXT + end + $ruby << " -I'$(topdir)'" ++$ruby << " -I'$(top_srcdir)/lib'" + unless CROSS_COMPILING +- $ruby << " -I'$(top_srcdir)/lib'" + $ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout + $ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb" + ENV["RUBYLIB"] = "-" -- cgit 1.2.3-korg