summaryrefslogtreecommitdiff
path: root/lang/ruby-perl
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-06-09 02:08:29 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-06-09 02:08:29 +0000
commitaf936eebe01e28300937233f8c5c7499fe705f72 (patch)
tree3eb216a2b39bec9b6c79957b09a6ff2ed582ed2b /lang/ruby-perl
parentChase the repack; COPYING has been included, no changes. (diff)
Add a patch that fixes the build with recent ruby.
Notes
Notes: svn path=/head/; revision=43679
Diffstat (limited to 'lang/ruby-perl')
-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 000000000000..23108bb977ed
--- /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'`;
+