ports/graphics/graphviz/files/patch-config-config_ruby.rb
Dirk Meyer dcef20b4de - update to 2.42.2
- change MASTER_SITES
- add webp support
- use automake
- sort plist
2019-09-23 11:21:17 +00:00

19 lines
643 B
Ruby

--- 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"