aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-06-09 10:08:29 +0800
committerknu <knu@FreeBSD.org>2001-06-09 10:08:29 +0800
commit4ce5847fd88289c5dbba54b563296e9c47225754 (patch)
tree1e846b6bccc6bbaff4c81dc873395122c7c57bbf /lang
parent56f5f6f02d7635c594542f0e0ca1f79a20114fc9 (diff)
downloadfreebsd-ports-gnome-4ce5847fd88289c5dbba54b563296e9c47225754.tar.gz
freebsd-ports-gnome-4ce5847fd88289c5dbba54b563296e9c47225754.tar.zst
freebsd-ports-gnome-4ce5847fd88289c5dbba54b563296e9c47225754.zip
Add a patch that fixes the build with recent ruby.
Diffstat (limited to 'lang')
-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'`;
+