Ticket #18272 (closed defect: fixed)
graphviz, graphviz-devel: ${prefix}/lib/graphviz/config(5) should be part of destroot
| Reported by: | ryandesign@… | Owned by: | ryandesign@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.7.0 |
| Keywords: | Cc: | ||
| Port: | graphviz, graphviz-devel |
Description
Graphviz requires a file config or config5 in ${prefix}/lib/graphviz to work. This file lists which plugins got built. The file is created by running "dot -c" after installation in the post-activate phase, but that means the file doesn't get to be part of the destroot. It was done this way because there was no way to tell "dot -c" to write to a destroot; it always wrote to the real file.
The current development version of Graphviz lets you specify an alternate directory to write the file in. I forget how to do that, and I don't know if the latest stable version 2.20.3 already supports this or whether I have to wait for 2.22. If I have to wait on 2.22, then maybe I should wait until that's released before updating graphviz-devel too, otherwise graphviz-devel will have it as part of the destroot and graphviz won't, making it hard to switch between the two ports.

