Help with a Portfile

Joshua Root jmr at macports.org
Sun Jan 13 23:50:08 UTC 2019


On 2019-1-14 01:11 , Mojca Miklavec wrote:
> On Sun, 13 Jan 2019 at 14:32, iEFdev wrote:
>>
>> there is that other thing - that the commit I used is the last one made, and it's ≈ 2 years newer than last release.
> 
> This is often a perfectly valid usecase for fetching the source from
> git. You just need to make sure that you don't specify master, but
> provide the shasum instead. (And you need to live with the fact that
> until we merge the code from base, those sources would be re-fetched
> each time when you compile your port.)

GitHub will generate a tarball for any commit you name, so there's no
need to use fetch.type git in this case.

> I would suggest you to post your code somewhere and then it will be
> easier to understand what goes wrong.

Agreed.

- Josh


More information about the macports-dev mailing list