diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-24 07:34:56 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2002-11-24 07:34:56 +0000 |
commit | 7352fea9a6808b2fa0232a8857c438080882740a (patch) | |
tree | db3634dfed792c4c3d5ad9528ffde5880c9bc970 /lang/ruby-ri/files/patch-install.rb | |
parent | Update to 1.10 (diff) |
Update to 0.8a.
Notes
Notes:
svn path=/head/; revision=70961
Diffstat (limited to '')
-rw-r--r-- | lang/ruby-ri/files/patch-install.rb | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/lang/ruby-ri/files/patch-install.rb b/lang/ruby-ri/files/patch-install.rb index 2f60a3018f6a..d07190028572 100644 --- a/lang/ruby-ri/files/patch-install.rb +++ b/lang/ruby-ri/files/patch-install.rb @@ -1,33 +1,11 @@ ---- install.rb.orig Sun Mar 25 11:48:54 2001 -+++ install.rb Thu Apr 5 21:49:24 2001 -@@ -16,16 +16,18 @@ - # This sets up a standard environment for any sub-installs as well - - $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"] --$libdir = File.join(CONFIG["libdir"], "ruby", $version) -+#$libdir = File.join(CONFIG["libdir"], "ruby", $version) +--- install.rb.orig Tue Aug 14 12:57:38 2001 ++++ install.rb Sun Nov 24 16:33:13 2002 +@@ -19,7 +19,7 @@ + $libdir = File.join(CONFIG["libdir"], "ruby", $version) $bindir = CONFIG["bindir"] -$sitedir = CONFIG["sitedir"] || File.join($libdir, "site_ruby") -+#$sitedir = CONFIG["sitedir"] || File.join($libdir, "site_ruby") -+$sitedir = File.join(CONFIG["sitedir"], $version) - $ri_dest = File.join($sitedir, "ri") - $ri_op = File.join($ri_dest, "op") - - - # This is old stuff, but we need it to get tidy up a previous installation - -+=begin - $site_libdir = $:.find {|x| x =~ /site_ruby$/} - - if !$site_libdir -@@ -33,7 +35,9 @@ - elsif $site_libdir !~ Regexp.quote($version) - $site_libdir = File.join($site_libdir, $version) - end -+=end ++$sitedir = File.join(CONFIG["sitedir"] || File.join($libdir, "site_ruby"), $version) -+$site_libdir = $sitedir + $realbindir = $bindir - ## - # Install an output formatter |