"depends_build-append port:git-core" actually needed for git fetching?

Joshua Root jmr at macports.org
Sat Nov 19 03:50:42 PST 2011


On 2011-11-19 22:41 , Marko Käning wrote:
> When I want to make sure that a port can be fetched via git is this port file addition:
> ---
> 	depends_build-append port:git-core
> ---
> actually needed or will it implicitly being handled by macports itself, because fetch.type already knows what's necessary.
> (Now that I think about it, I believe that I could fetch sources also w/o the above port dependency to git-core.)

'port deps' would answer this question. The dependency is needed, but
setting fetch.type to git appends it automatically (actually to
depends_fetch since that's the appropriate type).

- Josh


More information about the macports-dev mailing list