summaryrefslogtreecommitdiff
path: root/graphics/graphviz/files/patch-config-config_ruby.rb
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/graphviz/files/patch-config-config_ruby.rb')
-rw-r--r--graphics/graphviz/files/patch-config-config_ruby.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/graphics/graphviz/files/patch-config-config_ruby.rb b/graphics/graphviz/files/patch-config-config_ruby.rb
new file mode 100644
index 000000000000..ed6368c99a27
--- /dev/null
+++ b/graphics/graphviz/files/patch-config-config_ruby.rb
@@ -0,0 +1,19 @@
+--- config/config_ruby.rb.orig 2019-09-12 02:11:30 UTC
++++ config/config_ruby.rb
+@@ -5,11 +5,14 @@ CONFIG = RbConfig::MAKEFILE_CONFIG
+
+ case ARGV[0]
+ when "archdir"
+- puts RbConfig::expand(CONFIG["archdir"])
++ puts RbConfig::expand(CONFIG["rubyhdrdir"])
++when "inc"
++ print RbConfig::expand(CONFIG["rubyhdrdir"]) + '/'
++ puts RbConfig::expand(CONFIG["sitearch"])
+ when "lib"
+ puts RbConfig::expand(CONFIG["libdir"])
+ when "vendorarchdir"
+- puts RbConfig::expand(CONFIG["vendorarchdir"])
++ puts RbConfig::expand(CONFIG["sitearchdir"])
+ when "sitearchdir"
+ puts RbConfig::expand(CONFIG["sitearchdir"])
+ when "sitelib"