diff options
Diffstat (limited to 'dev-ruby/rubygems/files/rubygems-1.3.3-setup.patch')
-rw-r--r-- | dev-ruby/rubygems/files/rubygems-1.3.3-setup.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/rubygems/files/rubygems-1.3.3-setup.patch b/dev-ruby/rubygems/files/rubygems-1.3.3-setup.patch new file mode 100644 index 000000000000..3306dfe28856 --- /dev/null +++ b/dev-ruby/rubygems/files/rubygems-1.3.3-setup.patch @@ -0,0 +1,31 @@ +--- lib/rubygems/commands/setup_command.rb.0 2009-04-03 02:46:29.000000000 +0200 ++++ lib/rubygems/commands/setup_command.rb 2009-05-08 23:34:19.000000000 +0200 +@@ -111,8 +111,6 @@ + + remove_old_bin_files bin_dir + +- remove_source_caches install_destdir +- + install_rdoc + + say +@@ -226,10 +224,6 @@ + if File.writable? gem_doc_dir and + (not File.exist? rubygems_doc_dir or + File.writable? rubygems_doc_dir) then +- say "Removing old RubyGems RDoc and ri" +- Dir[File.join(Gem.dir, 'doc', 'rubygems-[0-9]*')].each do |dir| +- rm_rf dir +- end + + if options[:ri] then + ri_dir = File.join rubygems_doc_dir, 'ri' +@@ -343,7 +337,7 @@ + + args << '--quiet' + args << '--main' << 'README' +- args << '.' << 'README' << 'LICENSE.txt' << 'GPL.txt' ++ args << '.' << 'README' + + r = RDoc::RDoc.new + r.document args |