Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2026 11:38:21 +0300
From:      Gleb Popov <arrowd@freebsd.org>
To:        Ronald Klop <ronald-lists@klop.ws>
Cc:        ports@freebsd.org
Subject:   Re: version question for an nginx module
Message-ID:  <CALH631mb4Eb3mfGxvoGvpKKPXw-wHmig8Md2qhPesOTphtcdyg@mail.gmail.com>
In-Reply-To: <492084097.548.1784275626142@localhost>
References:  <835756537.1616.1784229418488@localhost> <CALH631mF5cM2zPFE8NwBUnOwm-Ci3uK=4Z9uzWd_xH7-oY4t%2BQ@mail.gmail.com> <492084097.548.1784275626142@localhost>

index | next in thread | previous in thread | raw e-mail

On Fri, Jul 17, 2026 at 11:07 AM Ronald Klop <ronald-lists@klop.ws> 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALH631mb4Eb3mfGxvoGvpKKPXw-wHmig8Md2qhPesOTphtcdyg>