[MacPorts] #37783: graphviz +universal +ruby fails if ruby19 is -universal

MacPorts noreply at macports.org
Fri Jan 25 10:15:43 PST 2013


#37783: graphviz +universal +ruby fails if ruby19 is -universal
-------------------------+--------------------------
  Reporter:  jeremyhu@…  |      Owner:  ryandesign@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:              |   Keywords:
      Port:  graphviz    |
-------------------------+--------------------------

Comment (by jeremyhu@…):

 This is because configure.ac is setup to prefer ruby-1.9:

 {{{
 if test "x$enable_ruby" != "xyes"; then
   use_ruby="No (disabled)"
 else
   if test "x$use_swig" != "xYes"; then
     use_ruby="No (swig not available)"
   else
     if test `$SWIG -help 2>&1 | $EGREP -c '\-ruby *- Generate'` = 0; then
       use_ruby="No (swig does not support -ruby option)"
     else
       PKG_CHECK_MODULES(RUBY, [ruby-1.9],[
         AC_CHECK_PROG(RUBY,ruby,ruby)
         if test "x$RUBY" = "x"; then
           use_ruby="No (ruby not available)"
         else
           RUBY_INSTALL_DIR="`$RUBY $srcdir/config/config_ruby.rb
 vendorarchdir`"
         fi
       ],[
         AC_CHECK_PROG(RUBY,ruby,ruby)
         if test "x$RUBY" = "x"; then
           use_ruby="No (ruby not available)"
         else
           RUBY_CFLAGS="-I`$RUBY $srcdir/config/config_ruby.rb archdir`"
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/37783#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list