On Thu Jul 30, 2020 at 12:35 AM EDT, Raymond E. Pasco wrote:
> - The previous time around, with a vendor directory, I was able to patch
> the go-libvterm module to link against devel/libvterm instead of
> bringing along its own libvterm. I am no longer quite sure how to do
> this with the newer Go ports tools because patches apply to WRKDIST,
> which doesn't resolve to a directory that actually exists at any point
> during the build; if I come up with a fix I'll email it here.

Oh, and the way the build works, it doesn't actually "download" the
modules from /usr/ports/distfiles until after patch anyway. If we had
patching capability on the main distribution, maybe we could patch its
go.mod to use an alternate module that properly uses cgo pkg-config.

This ecosystem is a real headache. :)

Reply via email to