On Sun, Mar 23, 2014 at 05:13:34PM +1100, Brett Mahar wrote: > Hi ports people, > > I saw this post http://marc.info/?l=openbsd-ports-cvs&m=139507378232184&w=2 > from Christian "naddy" Weisgerber and was also dismayed to find qt getting > built on my computer. > > It seems to be doxygen that drags qt in, if this is running prior to building > anything that needs polkit, no qt gets built: > > cd /usr/ports/devel/doxygen > env FLAVOR="no_gui" make install >
Also, to be fair, please note that this is *only* a build depends chain. Normal users, the ones that should be installing binary packages, are not affected at all. There is no bloat in there. That's one reason for pseudo-flavors. In that regard, doxygen,no_gui won't really help. Because it's actually self-centered on *YOUR NEEDS*. full ports builds remove pseudo-flavors. They only exist for end users convenience, to the crucial exception of roughly 5 pseudo-flavors which are marked as "bootstrap" and serve to break build loops. [ In the big picture of a full build, you don't want to rebuild the same thing several times if you can help it. ] The polkit -> gtk-doc is dangerously close to an actual existing build loop... It is also slightly inconvenient, because it gives dpb slightly less room to manoeuver, and it makes the tree slightly more brittle (the critical chain that runs thru polkit has to have gtk-doc, doxygen, qt4 correctly built first). I myself am leaning towards severing that build dependency...