Bug 111018 - graphics/ImageMagick - fail to build when graphics/graphviz is selected
Summary: graphics/ImageMagick - fail to build when graphics/graphviz is selected
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Shaun Amott
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 21:10 UTC by Scot Hetzel
Modified: 2007-03-29 22:00 UTC (History)
0 users

See Also:


Attachments
file.diff (614 bytes, patch)
2007-03-29 21:10 UTC, Scot Hetzel
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Scot Hetzel 2007-03-29 21:10:04 UTC
When IMAGEMAGICK_DOT (GraphViz dot graphs support) is selected the port fails to build, as it is listed a a RUN_DEPENDS when it should be a LIB_DEPENDS.

/bin/sh /usr/local/bin/libtool --silent --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I./magick -I./wand  -I./ltdl -I./ltdl  -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include/libxml2  -O -pipe  -MT coders/magick_libMagick_la-dot.lo -MD -MP -MF coders/.deps/magick_libMagick_la-dot.Tpo -c -o coders/magick_libMagick_la-dot.lo `test -f 'coders/dot.c' || echo './'`coders/dot.c
coders/dot.c:64:17: gvc.h: No such file or directory
coders/dot.c:66: error: syntax error before '*' token
coders/dot.c:66: warning: data definition has no type or storage class
coders/dot.c: In function `ReadDOTImage':
coders/dot.c:106: error: `graph_t' undeclared (first use in this function)
coders/dot.c:106: error: (Each undeclared identifier is reported only once
coders/dot.c:106: error: for each function it appears in.)
coders/dot.c:106: error: `graph' undeclared (first use in this function)
coders/dot.c:137: error: syntax error before ')' token
coders/dot.c: In function `RegisterDOTImage':
coders/dot.c:195: warning: assignment makes pointer from integer without a cast
gmake: *** [coders/magick_libMagick_la-dot.lo] Error 1
*** Error code 2

Stop in /usr/ports/graphics/ImageMagick.

Fix: Apply the attached patch.

Patch attached with submission follows:
How-To-Repeat: cd /usr/ports/graphics/ImageMagick
make build

- Select 'GraphViz dot graphs support' from the config menu.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-03-29 21:10:14 UTC
Responsible Changed
From-To: freebsd-ports-bugs->shaun

Over to maintainer
Comment 2 Shaun Amott freebsd_committer freebsd_triage 2007-03-29 21:22:40 UTC
State Changed
From-To: open->closed

Committed, thanks!
Comment 3 dfilter service freebsd_committer freebsd_triage 2007-03-29 21:57:20 UTC
shaun       2007-03-29 20:57:15 UTC

  FreeBSD ports repository

  Modified files:
    graphics/ImageMagick Makefile 
  Log:
  Fix build with graphviz support in some cases where it fails.
  
  PR:             ports/111018
  Submitted by:   Scot Hetzel <swhetzel@gmail.com>
  
  Revision  Changes    Path
  1.234     +3 -2      ports/graphics/ImageMagick/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"