summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2002-04-13 20:44:49 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2002-04-13 20:44:49 +0000
commit41f52b07702acd24c26c240f876f7c6c9d2cf534 (patch)
tree2521fae00456856b6c00a908f1de7eff6e77959e /dev-ruby/rexml/files
parentFixes #1692 (diff)
downloadgentoo-2-41f52b07702acd24c26c240f876f7c6c9d2cf534.tar.gz
gentoo-2-41f52b07702acd24c26c240f876f7c6c9d2cf534.tar.bz2
gentoo-2-41f52b07702acd24c26c240f876f7c6c9d2cf534.zip
Fixes #882
Diffstat (limited to 'dev-ruby/rexml/files')
-rw-r--r--dev-ruby/rexml/files/digest-rexml-1.2.51
-rw-r--r--dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff19
2 files changed, 20 insertions, 0 deletions
diff --git a/dev-ruby/rexml/files/digest-rexml-1.2.5 b/dev-ruby/rexml/files/digest-rexml-1.2.5
new file mode 100644
index 000000000000..3944ef1752ee
--- /dev/null
+++ b/dev-ruby/rexml/files/digest-rexml-1.2.5
@@ -0,0 +1 @@
+MD5 2d33d2177c4b00d719d3681e1e33dc2f rexml_1.2.5.tgz 163468
diff --git a/dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff b/dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff
new file mode 100644
index 000000000000..90db3d8abc66
--- /dev/null
+++ b/dev-ruby/rexml/files/rexml-1.2.5-gentoo.diff
@@ -0,0 +1,19 @@
+diff -ruN rexml.old/bin/install.rb rexml/bin/install.rb
+--- rexml.old/bin/install.rb Thu Jan 10 21:03:41 2002
++++ rexml/bin/install.rb Wed Feb 27 18:36:47 2002
+@@ -8,8 +8,13 @@
+ SRC = 'rexml'
+
+
+-INSTDIR = File.join Config::CONFIG['sitedir'],
+- "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}"
++if ENV["PORTAGETMP"]
++ INSTDIR = File.join ENV["PORTAGETMP"], Config::CONFIG['sitedir'],
++ "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}"
++else
++ INSTDIR = File.join Config::CONFIG['sitedir'],
++ "#{Config::CONFIG['MAJOR']}.#{Config::CONFIG['MINOR']}"
++end
+ DESTDIR = File.join INSTDIR, SRC
+
+ opts = GetoptLong.new( [ "--uninstall", "-u", GetoptLong::NO_ARGUMENT ] )