Why is ${prefix}/var/macports/home not owned by the macports user?

Andrew Udvare audvare at gmail.com
Thu Jan 7 19:54:55 UTC 2021


> On 2021-01-07, at 07:09, janosch1 at mailbox.org wrote:
> 
> Your comment about the git submodules is a bit surprising to me because I got that part straight from the macports guide: https://guide.macports.org/index.html#reference.portgroup.github.submodule. So is fetching the submodule „manually“ considered the better approach? Should we update the guide?

I don't think the guide needs an update. It says 'the best distfile candidate (if available) is a distfile from GitHub releases'. If a project doesn't have a proper release system you can do what the guide says here, but there are drawbacks as with anything. Unfortunately most projects on GitHub don't really care about users building from source so there is never just one way to do this.

I would suggest the guide get an update to note the technique of manually merging the source together from a series of distfiles but that's kind of an advanced topic.

It's really just my own personal preference to avoid using `fetch.type git` and similar things. I like being able to perform offline (re)installations (possible to do as long as distfiles are present). I like having distfiles for everything rather than some distfiles and some repositories. Mostly a Gentoo user habit.

-- 
Andrew Udvare


More information about the macports-users mailing list