This project of course requires the ability to depend on specific
version ranges of ports (being able to exclude both too old and too
new), and likewise with variants. There would also need to be a way to manage rebuilds when existing software would work with a newer version,
and you want to get rid of the old one. (And other such interactions
involving variants etc.)

Yep. I think what we ultimately need is a tuple containing port, version, variant-list which gets looked at in satisfying any dependencies, and we make the "binding precedence" follow the same order: First you look for port, then you look for version, then you look for (if the depending port even specifies a preference) the specific variant. If the port has declared one or both of the latter two items as "soft" dependencies, or has wild-carded them somehow, you can also fall back to a non-exact match rather than forcing a build of that specific tuple. Of course, since things also depend on the depot locations rather than the bits in ${prefix} in my crazy idea, it also means that you can have multiple variants of a given port installed at the same time, so all you're burning is some extra disk space and CPU time in the interests of a more exact functional match.

Sounds like a good time to get sqlite support running.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev

Reply via email to