Questions on dependencies

Lawrence Velázquez larryv at macports.org
Sat Nov 9 11:35:06 PST 2013


On Nov 9, 2013, at 1:35 PM, Craig Treleaven <ctreleaven at cogeco.ca> wrote:

> So, in a way, we all use depends_lib for certain things as a short-hand for listing stuff as both depends_build and depends_run, no?

That's the general usage, yes.

> In a perfect world, maybe we should have a "depends_mod" for indicating a dependency on an interpreted module (perl, python, php, ruby, ...)?  It would express the relationship more precisely, I think.  OTOH, I don't see any particular advantage other than that and it would be a tremendous amount of work to got through all existing ports and split depends_mod out from depends_lib as necessary.  Perhaps just the documentation for depends_lib should be expanded to say that it indicates both compiled and interpreted linkages?

That's what this whole conversation has been about: whether "depends_lib" can just be shorthand for "depends_build" + "depends_run", or whether it should specifically indicate linkage.

vq


More information about the macports-dev mailing list