Number: 1159
Title: diffimg doesn't build with system GD
Submitter: Ian Lister
Date: Fri Jul 13 01:56:31 2007
Subsys: Build/Installation
Version: 2.12
System: PowerPC-OSX-10.4.10
Severity: minor
Problem:
I attempted to build Graphviz with an existing installation of libgd (2.0.35). configured detected this, and the build did not attempt to build anything in lib/gd. However, the build in contrib/diffimg still attempted to link in the library from the lib/gd directory, and failed because it didn't exist.

Ian
Comments: [erg] This is bug 1099 and has been fixed.
Fix:
I think the following patch is sufficient to fix my problem:


=====8<-----
--- graphviz-2.12-orig/contrib/diffimg/Makefile.am      2006-06-27 22:29:56.000000000 +1000
+++ graphviz-2.12/contrib/diffimg/Makefile.am   2007-07-13 15:49:53.000000000 +1000
@@ -11,7 +11,7 @@

diffimg_SOURCES = diffimg.c

-if WITH_LIBGD +if WITH_MYLIBGD diffimg_LDADD = $(top_builddir)/lib/gd/libgvgd_C.la @FC_LIBS@ @FT_LIBS@ @JPEG_LIBS@ @PNG_LIBS@ @Z_LIBS@ @MATH_LIBS@ else =====8<-----


Owner: erg
Status: Fixed