On Fri, Jul 17, 2026 at 11:07 AM Ronald Klop <[email protected]> wrote:
>
>
> Sharp observation. I didn't think about that yet.
>
> Could I use a MASTERDIR construction to share the distinfo with the master 
> port?

Having a single distinfo for both ports will result in downloading
distfiles for both ports even if the user builds one of them.

Instead, try creating a smart makesum override that'd update distinfos
of both ports.
This is what I proposed for nvidia/drm-kmod ports here:
https://reviews.freebsd.org/D50282#1148183
A similar trick that I used for FLAVORized port:
https://github.com/freebsd/freebsd-ports/blob/5f2391932a16ac1f198f0f4fad3d9d285fa7d52e/devel/hs-haskell-language-server/Makefile#L49-L54

Reply via email to