graphviz/graphviz-2.30.1-ruby-2.patch

12 lines
514 B
Diff
Raw Permalink Normal View History

--- graphviz-2.30.1/configure.ac.orig 2013-07-18 00:11:31.511494891 +0200
+++ graphviz-2.30.1/configure.ac 2013-07-18 00:11:34.631470248 +0200
@@ -1542,7 +1542,7 @@
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],[
+ PKG_CHECK_MODULES([RUBY], [ruby-2.0],[
AC_CHECK_PROG(RUBY,ruby,ruby)
if test "x$RUBY" == "x"; then
use_ruby="No (ruby not available)"