]> granicus.if.org Git - graphviz/commitdiff
ruby - use vendorarchdir for install directory
authorJohn Ellson <ellson@research.att.com>
Sat, 11 Feb 2012 00:21:46 +0000 (19:21 -0500)
committerJohn Ellson <ellson@research.att.com>
Sat, 11 Feb 2012 00:21:46 +0000 (19:21 -0500)
config/config_ruby.rb
configure.ac

index 3be5974b8fbb5eb04a98ed39c53aef1a7a7c9a5e..cf560474a09aea9df40dbefe661d712b8afb0339 100644 (file)
@@ -8,8 +8,8 @@ when "archdir"
     puts Config::expand(CONFIG["archdir"])
 when "lib"
     puts Config::expand(CONFIG["libdir"])
-when "archsitelib"
-    puts Config::expand(CONFIG["sitearchdir"])
+when "vendorarchdir"
+    puts Config::expand(CONFIG["vendorarchdir"])
 when "sitelib"
     puts Config::expand(CONFIG["sitedir"])
 end
index 5d71d72ce1d83f4d49b55f1050603ed5d130f86f..6336c4e7725d6f8de942d2d32319370461645357 100644 (file)
@@ -1546,7 +1546,7 @@ else
         if test "x$RUBY" = "x"; then
           use_ruby="No (ruby not available)"
         else
-          RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb archsitelib`"
+          RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb vendorarchdir`"
        fi
       ],[
         AC_CHECK_PROG(RUBY,ruby,ruby)