aboutsummaryrefslogtreecommitdiff
path: root/graphics/graphviz/files/patch-config_config_ruby.rb
blob: ed6368c99a270ac2e60a577a731fc2f090259f79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"