summaryrefslogtreecommitdiff
path: root/lang/ruby-perl/files/patch-Makefile.PL
blob: 23108bb977eda3b8d2021e93ff74b45c2b6cbac8 (plain) (blame)
1
2
3
4
5
6
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'`;