summaryrefslogtreecommitdiff
path: root/textproc/ruby-xmlparser/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ruby-xmlparser/patches/patch-aa')
-rw-r--r--textproc/ruby-xmlparser/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/textproc/ruby-xmlparser/patches/patch-aa b/textproc/ruby-xmlparser/patches/patch-aa
new file mode 100644
index 00000000000..06ffb7aaa55
--- /dev/null
+++ b/textproc/ruby-xmlparser/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/28 04:51:38 taca Exp $
+
+--- extconf.rb.orig 2004-02-18 22:48:06.000000000 +0900
++++ extconf.rb
+@@ -12,7 +12,7 @@ perl= ENV['PERL'] || 'perl'
+ ## Encoding maps may be stored in $perl_archlib/XML/Parser/Encodins/
+ #perl_archlib = '/usr/lib/perl5/site_perl/5.005/i586-linux'
+ #perl_archlib = '/usr/local/lib'
+-perl_archlib = `#{perl} -e 'use Config; print $Config{"archlib"}'`
++perl_archlib = `#{perl} -e 'use Config; print $Config{"sitelib"}'`
+ xml_enc_path = with_config("perl-enc-map")
+ if xml_enc_path == true
+ xml_enc_path = perl_archlib + "/XML/Parser/Encodings"