Marcus Rueckert
2ead0c48bf
Accepted submit request 62583 from user darix OBS-URL: https://build.opensuse.org/request/show/62583 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ruby?expand=0&rev=21
17 lines
727 B
Diff
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}
|