Blame SOURCES/ruby-2.2.3-Generate-preludes-using-miniruby.patch

a54e24
From 07eb5f5e775dec01a92a8b13910eaced9e8ee0cd Mon Sep 17 00:00:00 2001
a54e24
From: =?UTF-8?q?V=C3=ADt=20Ondruch?= <vondruch@redhat.com>
a54e24
Date: Tue, 2 Dec 2014 10:56:58 +0100
a54e24
Subject: [PATCH] Generate preludes using miniruby.
a54e24
a54e24
---
a54e24
 common.mk | 4 ++--
a54e24
 1 file changed, 2 insertions(+), 2 deletions(-)
a54e24
a54e24
diff --git a/common.mk b/common.mk
a54e24
index 168dc52..20c218a 100644
a54e24
--- a/common.mk
a54e24
+++ b/common.mk
9f47f6
@@ -1053,9 +1053,9 @@ $(MINIPRELUDE_C): $(COMPILE_PRELUDE)
a54e24
 		$(srcdir)/template/prelude.c.tmpl
a54e24
 
a54e24
 $(PRELUDE_C): $(COMPILE_PRELUDE) \
a54e24
-	   $(PRELUDE_SCRIPTS)
a54e24
+	   $(PRELUDE_SCRIPTS) $(PREP)
a54e24
 	$(ECHO) generating $@
a54e24
-	$(Q) $(BASERUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
a54e24
+	$(Q) $(MINIRUBY) $(srcdir)/tool/generic_erb.rb -I$(srcdir) -c -o $@ \
a54e24
 		$(srcdir)/template/prelude.c.tmpl $(PRELUDE_SCRIPTS)
a54e24
 
a54e24
 $(GOLF_PRELUDE_C): $(COMPILE_PRELUDE) {$(srcdir)}golf_prelude.rb
a54e24
-- 
a54e24
2.6.3
a54e24