summaryrefslogtreecommitdiff
path: root/textproc/ruby-eruby/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-eruby/patches/patch-ab')
-rw-r--r--textproc/ruby-eruby/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/ruby-eruby/patches/patch-ab b/textproc/ruby-eruby/patches/patch-ab
new file mode 100644
index 00000000000..11790b0bed3
--- /dev/null
+++ b/textproc/ruby-eruby/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2002/01/05 06:16:36 taca Exp $
+
+--- configure.rb.in.orig Mon Jul 23 12:24:09 2001
++++ configure.rb.in
+@@ -61,7 +61,7 @@
+ $LIBERUBY_ALIASES = "liberuby.so.$(MAJOR).$(MINOR) liberuby.so"
+ when /-(freebsd|netbsd)/
+ $LIBERUBY_SO = "liberuby.so.$(MAJOR).$(MINOR)"
+- if PLATFORM =~ /elf/ || PLATFORM =~ /-freebsd[3-9]/
++ if PLATFORM =~ /elf/ and PLATFORM =~ /-freebsd[3-9]/
+ $LIBERUBY_SO = "liberuby.so.$(MAJOR_MINOR)"
+ $LIBERUBY_ALIASES = "liberuby.so"
+ else