add git dependency to github portgroup?

Ryan Schmidt ryandesign at macports.org
Mon Nov 20 19:28:16 UTC 2017


On Nov 20, 2017, at 12:45, Ken Cunningham wrote:

> On 2017-11-20, at 9:21 AM, Joshua Root wrote:
> 
>> On 2017-11-21 04:02 , Ken Cunningham wrote:
>>> A recent commit of Dave's made me wonder if should we add a callback dependency for something like
>>> 
>>> depends_build-append    bin:git:git
>>> 
>>> to the github portgroup?
>>> 
>>> I looked in there, expecting to see one, but didn't.
>> No, I don't see why that would be needed. Many ports using the github
>> portgroup don't use git at all, and those that do usually use it for
>> fetching only.
> 
> I guess it's true that even with the github portgroup, most of the fetching is via tarball, I get it.
> 
> OK, we can add it manually to those ports that actually do some git fetching.

If the port fetches using git, it probably sets `fetch.type git`, which makes MacPorts automatically add the git dependency to depends_fetch.




More information about the macports-dev mailing list