summaryrefslogtreecommitdiff
path: root/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-04-26 21:17:35 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-04-26 21:17:35 +0000
commita23c4abe670c55f33412c7bd281917d81b213a55 (patch)
treebde2a6ad07b32274bae928df62c950c23278fdc1 /lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb
parentUpdate to 1.0.22. (diff)
Unbreak the build.
Notes
Notes: svn path=/head/; revision=79688
Diffstat (limited to '')
-rw-r--r--lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb b/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb
new file mode 100644
index 000000000000..3ff097f28f02
--- /dev/null
+++ b/lang/ruby16_static/files/ruby16-patch-ext+zlib+extconf.rb
@@ -0,0 +1,11 @@
+--- ext/zlib/extconf.rb.orig Fri Mar 28 11:24:47 2003
++++ ext/zlib/extconf.rb Sun Apr 27 05:56:22 2003
+@@ -24,7 +24,7 @@
+ oldlibs = $libs
+ oldlibpath = $LIBPATH
+ $libs += " " + Config::CONFIG['LIBRUBYARG']
+- $LIBPATH = [$libdir, $archdir] | $LIBPATH
++ $LIBPATH = [$libdir, $archdir || Config::CONFIG["compile_dir"]] | $LIBPATH
+ begin
+ have_func s, 'ruby.h'
+ rescue ArgumentError # for ruby-1.4