summaryrefslogtreecommitdiff
path: root/lang/ruby14-base/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby14-base/patches/patch-af')
-rw-r--r--lang/ruby14-base/patches/patch-af22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/ruby14-base/patches/patch-af b/lang/ruby14-base/patches/patch-af
new file mode 100644
index 00000000000..4202a557d0d
--- /dev/null
+++ b/lang/ruby14-base/patches/patch-af
@@ -0,0 +1,22 @@
+$NetBSD: patch-af,v 1.1.1.1 2001/06/30 08:25:48 taca Exp $
+
+--- lib/mkmf.rb.orig Tue Jun 20 01:23:36 2000
++++ lib/mkmf.rb
+@@ -316,6 +316,8 @@
+ end
+
+ def create_makefile(target)
++ save_libs = $libs.dup if not $libs.nil?
++ save_libpath = $LIBPATH.dup if not $LIBPATH.nil?
+ print "creating Makefile\n"
+ system "rm -f conftest*"
+ STDOUT.flush
+@@ -446,6 +448,8 @@
+ dfile.close
+ end
+ mfile.close
++ $libs = save_libs
++ $LIBPATH = save_libpath
+
+ if RUBY_PLATFORM =~ /beos/
+ if RUBY_PLATFORM =~ /^powerpc/ then