Re: git: 981929d361d7 - main - audio/pulseaudio-module-sndio: Fix an error on loading

From: Max Brazhnikov <makc_at_freebsd.org>
Date: Thu, 29 Aug 2024 15:18:04 UTC
On Thu, 29 Aug 2024 16:47:43 +0300 Gleb Popov wrote:
> On Thu, Aug 29, 2024 at 4:00 PM Nicola Vitale <nivit@freebsd.org> wrote:
> >
> > +PULSE_MODDIR!= ${LOCALBASE}/bin/pkg-config --variable=modlibexecdir libpulse
> > +PULSE_VERSION!=        ${LOCALBASE}/bin/pkg-config --modversion libpulse
> 
> This doesn't work when building in Poudriere, because the pkg-config
> executable isn't there at the time the variable value is evaluated.
> You might workaround it by adding pkg-config to PATCH_DEPENDS, but it
> is still quite a non-canonical solution.

It seems the port has to be rebuilt whenever pulseaudio is updated. In this case
I'd just fixed PULSE_MODDIR and PULSE_VERSION to the required values.

Cheers,
Max