local *single* Portfile
domiman at gmail.com
Mon Dec 7 19:56:42 UTC 2020
> On 7. Dec 2020, at 17:54, Kevin Reid <kpreid at switchb.org> wrote:
> On Mon, Dec 7, 2020 at 3:10 AM Dominik Reichardt <domiman at gmail.com <mailto:domiman at gmail.com>> wrote:
> I need to test whether a patch for cairo helps for a severe crash bug when you build against it with macOS SDK 11.0.
> (see https://gitlab.freedesktop.org/cairo/cairo/-/issues/420 <https://gitlab.freedesktop.org/cairo/cairo/-/issues/420> and the pull request !52 <https://gitlab.freedesktop.org/cairo/cairo/-/merge_requests/52>)
> As Cairo, its dependencies as well as GTK+3 (+ dependencies) is all done via MacPorts, I wonder if I can do this via local port file + local code. I dimly remember doing something like this years ago and I didn’t need to do all of the 4.6. Local Portfile Repositories <https://guide.macports.org/chunked/development.local-repositories.html> steps (and especially where and how to reference local source repository alludes me).
> To install a single modified port, all you need to do is have the Portfile (and any patches, etc.) in some directory, then run sudo port install (with no port name argument) from that directory.
Thank you, that helps the first step, but does it need to be a patch with source in the net, or can I manage this with local source as well?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the macports-users