#18272 closed defect (fixed)
graphviz, graphviz-devel: ${prefix}/lib/graphviz/config(5) should be part of destroot
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
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.
Change History (5)
comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Status: | new → assigned |
---|
Fixed for graphviz-devel in r46351.
comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Fixed for graphviz is r46658.
comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Removed the compatibility code for easing upgrades in r80885; everyone should have already by now.
It's the GVBINDIR environment variable described in the command-line documentation, e.g.: