Fixing source-code bugs using MacPorts facilities.

Ken Cunningham ken.cunningham.webuse at
Wed Jul 29 04:27:12 UTC 2020

> On Jul 28, 2020, at 9:22 PM, Ian Wadham < at> wrote:

> Also, Ken, I have worked out a way of maintaining a git repository of the source code and edits that is external to MacPorts and entirely under my control, so the need to avoid “install” is not so great. The compromise is that, after a bunch of edits, I will be using a script I wrote called  “./ship” to copy the changed files down into MacPorts’ work/<source-dir-name> area, after editing and before (re)building and testing.

If you get that to a sharable state, pls post it up so I can have a look. 

I’ve been meaning to write something for a portfile to override the “extract” and “patch” portfile phases to just symlink the source directory into the work folder — come to think of it, that might be all I need to do — but haven’t got around to it.

There are a few massive ports I work on:

qt5.N for various older systems

that would benefit from this approach rather than what I do now.


More information about the macports-users mailing list