local *single* Portfile

Kevin Reid kpreid at switchb.org
Mon Dec 7 16:54:18 UTC 2020


On Mon, Dec 7, 2020 at 3:10 AM Dominik Reichardt <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 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20201207/4579cbc4/attachment.htm>


More information about the macports-users mailing list