On Fri, Oct 17, 2025 at 4:08 PM Sebastian Oswald <[email protected]> wrote:
>
> > Ah, that's because of pretty uncommon dependency line
> >
> > RUN_DEPENDS+=    angie==${PKGVERSION}:www/angie
> >
> > Why does it have to be "==" ? It seems that slave ports draw the
> > version from the master port anyways, so they won't go out of sync.
>
> TBH, I have no idea why it was written this way and if this dependency
> definition is really necessary.
> I guess it is there to make sure the slaves are re-built when there is
> a new angie version, so I tried to make sure I can always pass the
> current angie version to this dependency definition.

Poudriere handles this for us and it doesn't even need these strict bounds.
This hack was probably made for people that are using plain make to
update their packages, but that's an unsupported way to do this.
I propose to replace the dependency line with just

RUN_DEPENDS+=    angie>0:www/angie

>
> And yes, currently the slaves inherit the angie version - that's what
> I'm trying to fix here.

That's an orthogonal problem. It can be solved in the same way by
defining DISTVERSION with ?= in the master port.

Reply via email to