Blame SOURCES/graphviz-2.30.1-guile2-fix.patch

a2d586
diff -up graphviz-2.30.1/configure.ac.orig graphviz-2.30.1/configure.ac
a2d586
--- graphviz-2.30.1/configure.ac.orig	2013-02-14 14:27:39.000000000 +0100
a2d586
+++ graphviz-2.30.1/configure.ac	2013-02-15 11:43:17.794608767 +0100
a2d586
@@ -710,7 +710,7 @@ else
a2d586
           GUILE_LIBS=
a2d586
 	  # don't die if PKG_CHECK_MODULES not available - el4, el5
a2d586
           PKG_CHECK_MODULES([GUILE],
a2d586
-		[guile >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"],
a2d586
+		[guile-2.0 >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"],
a2d586
 		GUILE_INCLUDES="$GUILE_CFLAGS",
a2d586
           	[
a2d586
 			PKG_CHECK_MODULES([GUILE],
a2d586
diff -up graphviz-2.30.1/configure.orig graphviz-2.30.1/configure
a2d586
--- graphviz-2.30.1/configure.orig	2013-02-15 11:44:09.552556536 +0100
a2d586
+++ graphviz-2.30.1/configure	2013-02-14 14:30:22.000000000 +0100
a2d586
@@ -21028,9 +21028,9 @@ else
a2d586
         _pkg_short_errors_supported=no
a2d586
 fi
a2d586
         if test $_pkg_short_errors_supported = yes; then
a2d586
-	        GUILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "guile >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"" 2>&1`
a2d586
+	        GUILE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "guile-2.0 >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"" 2>&1`
a2d586
         else
a2d586
-	        GUILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "guile >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"" 2>&1`
a2d586
+	        GUILE_PKG_ERRORS=`$PKG_CONFIG --print-errors "guile-2.0 >= "$GUILE_VERSION_MAJOR.$GUILE_VERSION_MINOR"" 2>&1`
a2d586
         fi
a2d586
 	# Put the nasty error message in config.log where it belongs
a2d586
 	echo "$GUILE_PKG_ERRORS" >&5