[66240] trunk/dports/devel/bzrtools/Portfile

Rainer Müller raimue at macports.org
Wed Apr 7 16:16:39 PDT 2010


On 2010-04-08 01:00 , Adam Mercer wrote:
> But (as you raise in the ticket) if graphviz, or grpahviz-devel, is
> installed Graph Ancestry support will be enabled even with the
> +no_graphviz variant.

It's really just a runtime dependency, which was wrong first. bzrtools
does not check for graphviz in the build, but looks for the dot tool at
runtime only.

It's arguable whether graphviz has to be a dependency or if the user
should be clever enough to understand the error message:

  bzr: ERROR: Can't find 'dot'.  Please ensure Graphviz is installed
  correctly.

In any case, adding graphviz to depends_run will issue a warning when
you accidentally want to deactivate/uninstall graphviz.

Rainer


More information about the macports-dev mailing list