summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <hans@degraaff.org>2013-02-27 08:23:43 +0100
committerHans de Graaff <hans@degraaff.org>2013-02-27 08:23:43 +0100
commit7fe0d6472bcb82a6cc2776d53d3b9f5d63f0fdda (patch)
treee7ecd2b1daa9a11c218d6cfd3927ffffaa415c6d /patchsets
parentPatches for 1.9.3_p392. (diff)
downloadruby-scripts-7fe0d6472bcb82a6cc2776d53d3b9f5d63f0fdda.tar.gz
ruby-scripts-7fe0d6472bcb82a6cc2776d53d3b9f5d63f0fdda.tar.bz2
ruby-scripts-7fe0d6472bcb82a6cc2776d53d3b9f5d63f0fdda.zip
Apply fix for parallel building bug by Diego.
Diffstat (limited to 'patchsets')
-rw-r--r--patchsets/patches-1.9.3_p392/010_mkmf-parallel-install.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/patchsets/patches-1.9.3_p392/010_mkmf-parallel-install.patch b/patchsets/patches-1.9.3_p392/010_mkmf-parallel-install.patch
new file mode 100644
index 0000000..bb80635
--- /dev/null
+++ b/patchsets/patches-1.9.3_p392/010_mkmf-parallel-install.patch
@@ -0,0 +1,15 @@
+Index: ruby-1.9.3-p392/lib/mkmf.rb
+===================================================================
+--- ruby-1.9.3-p392.orig/lib/mkmf.rb
++++ ruby-1.9.3-p392/lib/mkmf.rb
+@@ -2039,8 +2039,8 @@ static: $(STATIC_LIB)#{$extout ? " insta
+ end
+ for f in files
+ dest = "#{dir}/#{File.basename(f)}"
+- mfile.print("install-rb#{sfx}: #{dest} #{dir}\n")
+- mfile.print("#{dest}: #{f}\n")
++ mfile.print("install-rb#{sfx}: #{dest}\n")
++ mfile.print("#{dest}: #{f} #{timestamp_file(dir)}\n")
+ mfile.print("\t$(Q) $(#{$extout ? 'COPY' : 'INSTALL_DATA'}) #{f} $(@D#{sep})\n")
+ if defined?($installed_list) and !$extout
+ mfile.print("\t@echo #{dest}>>$(INSTALLED_LIST)\n")