summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-11-19 20:50:48 +0000
committerMamoru Komachi <usata@gentoo.org>2004-11-19 20:50:48 +0000
commit299a67aa13eef82b801d55ab44a0839ae3bb17b8 (patch)
tree8fe965681fda20834341bdc3ecff485a36340d01 /dev-ruby/rubygems/files
parentVersion bumped. Thanks to Thomas Kirchner <gentoo@halffull.org>; bug #71769. ... (diff)
downloadgentoo-2-299a67aa13eef82b801d55ab44a0839ae3bb17b8.tar.gz
gentoo-2-299a67aa13eef82b801d55ab44a0839ae3bb17b8.tar.bz2
gentoo-2-299a67aa13eef82b801d55ab44a0839ae3bb17b8.zip
Initial import. Thanks to Alexander Kellett <lypanov@kde.org> and Thomas Kirchner <gentoo@halffull.org>. This closes bug #71757.
Diffstat (limited to 'dev-ruby/rubygems/files')
-rw-r--r--dev-ruby/rubygems/files/digest-rubygems-0.8.11
-rw-r--r--dev-ruby/rubygems/files/rubygems-0.8.1-gentoo.diff46
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-ruby/rubygems/files/digest-rubygems-0.8.1 b/dev-ruby/rubygems/files/digest-rubygems-0.8.1
new file mode 100644
index 000000000000..b7fc1002bc6a
--- /dev/null
+++ b/dev-ruby/rubygems/files/digest-rubygems-0.8.1
@@ -0,0 +1 @@
+MD5 6276d268b420c0d61796cdbf6d28dae4 rubygems-0.8.1.tgz 108276
diff --git a/dev-ruby/rubygems/files/rubygems-0.8.1-gentoo.diff b/dev-ruby/rubygems/files/rubygems-0.8.1-gentoo.diff
new file mode 100644
index 000000000000..10e501c290ae
--- /dev/null
+++ b/dev-ruby/rubygems/files/rubygems-0.8.1-gentoo.diff
@@ -0,0 +1,46 @@
+--- install.rb.ORIG 2004-09-12 16:24:57.000000000 +0900
++++ install.rb 2004-11-20 02:46:54.000000000 +0900
+@@ -5,6 +5,10 @@
+
+ include Config
+
++CONFIG["bindir"].gsub!(/^/, ENV['D'])
++CONFIG["libdir"].gsub!(/^/, ENV['D'])
++CONFIG["sitedir"].gsub!(/^/, ENV['D'])
++
+ $srcdir = CONFIG["srcdir"]
+ $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"]
+ $libdir = File.join(CONFIG["libdir"], "ruby", $version)
+@@ -15,6 +19,7 @@
+ elsif $site_libdir !~ Regexp.new(Regexp.quote($version))
+ $site_libdir = File.join($site_libdir, $version)
+ end
++$site_libdir.gsub!(/^/, ENV['D'])
+
+ def remove_stubs
+ is_apparent_stub = lambda { |path|
+@@ -108,6 +113,7 @@
+ ## Install the 'bin' files.
+
+ bindir = CONFIG['bindir']
++ File::makedirs(bindir)
+ ruby_install_name = CONFIG['ruby_install_name']
+ is_windows_platform = CONFIG["arch"] =~ /dos|win32/i
+ Find.find('bin') do |f|
+@@ -120,7 +126,7 @@
+ target = File.join(bindir, File.basename(f))
+ File.open(target, "w", 0755) do |script|
+ sourcelines = File.read(source)
+- sourcelines.gsub!(/\#!\/usr\/bin\/env ruby/, "\#!#{bindir}/#{ruby_install_name}")
++ #sourcelines.gsub!(/\#!\/usr\/bin\/env ruby/, "\#!#{bindir}/#{ruby_install_name}")
+ script.write sourcelines
+ end
+ if is_windows_platform
+--- packages/sources/sources.gemspec 2003-11-23 03:58:46.000000000 +0900
++++ packages/sources/sources.gemspec 2004-08-25 01:26:12.165799264 +0900
+@@ -1,4 +1,4 @@
+-$:.unshift '../lib'
++$:.unshift '../../lib'
+ require 'rubygems'
+
+ module Gem