summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/ruby/ruby/extmk.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/ruby/ruby/extmk.patch')
-rw-r--r--meta/recipes-devtools/ruby/ruby/extmk.patch16
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/recipes-devtools/ruby/ruby/extmk.patch b/meta/recipes-devtools/ruby/ruby/extmk.patch
index a5b2184af5..404b9af7aa 100644
--- a/meta/recipes-devtools/ruby/ruby/extmk.patch
+++ b/meta/recipes-devtools/ruby/ruby/extmk.patch
@@ -2,13 +2,15 @@ Upstream-Status: Pending
2diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb 2diff -ru ruby-1.8.7-p248.orig/ext/extmk.rb ruby-1.8.7-p248/ext/extmk.rb
3--- ruby-1.8.7-p248.orig/ext/extmk.rb 2009-12-24 03:01:58.000000000 -0600 3--- ruby-1.8.7-p248.orig/ext/extmk.rb 2009-12-24 03:01:58.000000000 -0600
4+++ ruby-1.8.7-p248/ext/extmk.rb 2010-02-12 15:55:27.370061558 -0600 4+++ ruby-1.8.7-p248/ext/extmk.rb 2010-02-12 15:55:27.370061558 -0600
5@@ -354,8 +354,8 @@ 5@@ -413,8 +413,8 @@ def $mflags.defined?(var)
6 $ruby = '$(topdir)/miniruby' + EXEEXT
7 end 6 end
8 $ruby << " -I'$(topdir)'" 7 $ruby = [$ruby]
9+$ruby << " -I'$(top_srcdir)/lib'" 8 $ruby << "-I'$(topdir)'"
9+$ruby << "-I'$(top_srcdir)/lib'"
10 unless CROSS_COMPILING 10 unless CROSS_COMPILING
11- $ruby << " -I'$(top_srcdir)/lib'" 11- $ruby << "-I'$(top_srcdir)/lib'"
12 $ruby << " -I'$(extout)/$(arch)' -I'$(extout)/common'" if $extout 12 $ruby << "-I'$(extout)/$(arch)'" << "-I'$(extout)/common'" if $extout
13 $ruby << " -I./- -I'$(top_srcdir)/ext' -rpurelib.rb"
14 ENV["RUBYLIB"] = "-" 13 ENV["RUBYLIB"] = "-"
14 end
15--
16