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

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