ruby/ruby-1.8.7.p72_vendor_specific.patch

17 lines
727 B
Diff

Index: mkconfig.rb
===================================================================
--- mkconfig.rb.orig 2008-06-06 12:39:57.000000000 +0200
+++ mkconfig.rb 2008-09-05 19:16:10.832214101 +0200
@@ -147,6 +147,11 @@ print <<EOS
CONFIG["sitearchdir"] = "$(sitelibdir)/$(sitearch)"
CONFIG["vendorlibdir"] = "$(vendordir)/$(ruby_version)"
CONFIG["vendorarchdir"] = "$(vendorlibdir)/$(sitearch)"
+ if defined?(VENDOR_SPECIFIC) && VENDOR_SPECIFIC
+ CONFIG["sitedir"] = CONFIG["vendordir"]
+ CONFIG["sitelibdir"] = CONFIG["vendorlibdir"]
+ CONFIG["sitearchdir"] = CONFIG["vendorarchdir"]
+ end
CONFIG["topdir"] = File.dirname(__FILE__)
MAKEFILE_CONFIG = {}
CONFIG.each{|k,v| MAKEFILE_CONFIG[k] = v.dup}