pkgsrc/textproc/ruby-html-parser/patches/patch-aa
taca 3a2181c1e3 - Update ruby-html-parser pacakge to 19990912p2.
- Use USE_RUBY_INSTALL.

2001-07-10

Fix array concatination statement in install_rb() of the install.rb
for Ruby 1.6.2 or later. Reported by Ed L Cashin <ecashin@terry.uga.edu>
2005-11-03 05:16:51 +00:00

13 lines
468 B
Text

$NetBSD: patch-aa,v 1.1 2005/11/03 05:16:51 taca Exp $
--- install.rb.orig 2001-07-10 20:10:05.000000000 +0900
+++ install.rb
@@ -11,7 +11,7 @@ $srcdir = CONFIG["srcdir"]
$version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
$libdir = File.join(CONFIG["libdir"], "ruby", $version)
$archdir = File.join($libdir, CONFIG["arch"])
-$site_libdir = CONFIG["sitedir"]
+$site_libdir = CONFIG["sitelibdir"]
if !$site_libdir
$site_libdir = $:.find {|x| x =~ /site_ruby$/}
end