Add a patch that fixes the build with recent ruby.

This commit is contained in:
Akinori MUSHA 2001-06-09 02:08:29 +00:00
parent 83c4fcf5cd
commit af936eebe0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43679

View File

@ -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'`;