Bart Smaalders wrote:
Alan Coopersmith wrote:
However, once you have faceted packages, you'll also want these dependencies to only apply to specific facets, such as .h dependencies being used when you install the development facet but ignored if you don't. I know Bart's spent some time thinking about these - will your work tie into that as well?

[1] http://mail.opensolaris.org/pipermail/pkg-discuss/2009-March/011865.html


Indeed; facets are the right way to deal w/ "nice to have in case you
need it" portions of the package. It makes no sense to install the components for which you don't have the dependencies installed, so
that bit that requires perl in Chris's example should be faceted
such that the dependency on perl is also faceted.
I'm curious, do we have any plan to allow for dynamic facet setting? To continue with Chris's example, we could have a facet which was true/on if perl was installed in the image the package was being installed into and false/off if it's not. I think that's not a road we're planning to go down, or even want to go down as I can see some unintended consequences stemming from it. I'd thought I'd bring it up though and see what people thought.

Brock

- Bart






_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to