aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/ruby-perl/files/patch-Makefile.PL7
1 files changed, 7 insertions, 0 deletions
diff --git a/lang/ruby-perl/files/patch-Makefile.PL b/lang/ruby-perl/files/patch-Makefile.PL
new file mode 100644
index 00000000000..23108bb977e
--- /dev/null
+++ b/lang/ruby-perl/files/patch-Makefile.PL
@@ -0,0 +1,7 @@
+--- Ruby/Makefile.PL.orig Fri Sep 15 09:45:40 2000
++++ Ruby/Makefile.PL Sat Jun 9 11:03:11 2001
+@@ -7,3 +7,3 @@
+ ##$archdir = `$RUBY -rrbconfig -e 'include Config; print CONFIG["libdir"]+"/"+CONFIG["ruby_install_name"]+"/"+CONFIG["arch"], "\n"'`;
+-$archdir = `$RUBY -rmkmf -e 'print \$hdrdir,"\n"'`;
++$archdir = `$RUBY -rmkmf -e 'puts Config::CONFIG["archdir"] || \$hdrdir'`;
+