summaryrefslogtreecommitdiff
path: root/package/ruby/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-02-14 00:38:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-02-14 00:38:14 +0100
commit42675af37cb5ce735452311734cc5b88a66d6d9d (patch)
tree4f15a6802d057cc685be2013d123006bcc1f6236 /package/ruby/patches
parentd7beb20d0835c81f05d51978497b1d756ca640a9 (diff)
complete allmodconfig build on NetBSD
Diffstat (limited to 'package/ruby/patches')
-rw-r--r--package/ruby/patches/patch-Makefile_in11
-rw-r--r--package/ruby/patches/patch-common_mk10
2 files changed, 21 insertions, 0 deletions
diff --git a/package/ruby/patches/patch-Makefile_in b/package/ruby/patches/patch-Makefile_in
new file mode 100644
index 000000000..0e1e996bc
--- /dev/null
+++ b/package/ruby/patches/patch-Makefile_in
@@ -0,0 +1,11 @@
+--- ruby-1.9.1-p378.orig/Makefile.in 2009-11-12 17:01:28.000000000 +0100
++++ ruby-1.9.1-p378/Makefile.in 2010-02-13 21:10:02.000000000 +0100
+@@ -274,7 +274,7 @@ INSNS = opt_sc.inc optinsn.inc optunifs.
+
+ $(INSNS):
+ @$(RM) $(PROGRAM)
+- $(BASERUBY) -Ks $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@
++ $(BASERUBY) $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@
+
+ node_name.inc:
+ $(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@
diff --git a/package/ruby/patches/patch-common_mk b/package/ruby/patches/patch-common_mk
new file mode 100644
index 000000000..06a4a7e10
--- /dev/null
+++ b/package/ruby/patches/patch-common_mk
@@ -0,0 +1,10 @@
+--- ruby-1.9.1-p378.orig/common.mk 2009-11-12 17:01:28.000000000 +0100
++++ ruby-1.9.1-p378/common.mk 2010-02-13 20:20:27.000000000 +0100
+@@ -400,7 +400,7 @@ extconf: $(PREP)
+ $(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS)
+
+ $(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP)
+- @$(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \
++ $(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \
+ -install_name=$(RUBY_INSTALL_NAME) \
+ -so_name=$(RUBY_SO_NAME) rbconfig.rb