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

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