SOURCES: ruby-RubyGems-DESTDIR.patch (NEW) - fix DESTDIR support in 1.3.1

radek radek at pld-linux.org
Tue Feb 17 16:27:51 CET 2009


Author: radek                        Date: Tue Feb 17 15:27:51 2009 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix DESTDIR support in 1.3.1

---- Files affected:
SOURCES:
   ruby-RubyGems-DESTDIR.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/ruby-RubyGems-DESTDIR.patch
diff -u /dev/null SOURCES/ruby-RubyGems-DESTDIR.patch:1.1
--- /dev/null	Tue Feb 17 16:27:52 2009
+++ SOURCES/ruby-RubyGems-DESTDIR.patch	Tue Feb 17 16:27:46 2009
@@ -0,0 +1,13 @@
+--- rubygems-1.3.1/setup.rb~	2009-02-17 15:57:41.000000000 +0100
++++ rubygems-1.3.1/setup.rb	2009-02-17 15:57:51.077845298 +0100
+@@ -148,8 +148,8 @@
+   lib_dir_p = Pathname.new(lib_dir)
+   bin_dir_p = Pathname.new(bin_dir)
+ 
+-  lib_dir = File.join install_destdir, lib_dir_p.relative_path_from(top_dir)
+-  bin_dir = File.join install_destdir, bin_dir_p.relative_path_from(top_dir)
++  lib_dir = File.join install_destdir, lib_dir_p
++  bin_dir = File.join install_destdir, bin_dir_p
+ end
+ 
+ mkdir_p lib_dir
================================================================


More information about the pld-cvs-commit mailing list