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

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

On Fri, 17 Jul 2026 11:38:21 +0300
Gleb Popov <arrowd@freebsd.org> wrote:

> 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

And currently distinfo that were merged for all child (slave) ports
of x11/nvidia-driver are splitted out into per-child-port basis.

This is because merged distinfo caused "interlock" between parent
(master) and all child (slave) ports and made upgrading of child ports
to delay.

Note that (as you can see in the review Gleb pointed) the idea
for merging distinfo on-the-fly is abandoned, because I couldn't
find the sane and surely-to-work way to automatically bump
PORTREVISION.

Regards.

-- 
Tomoaki AOKI    <junchoon@dec.sakura.ne.jp>


home | help

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