Re: git: 060f5301747f - main - audio/pulseaudio-module-sndio: unbreak module version again

From: Daniel Engberg <daniel.engberg.lists_at_pyret.net>
Date: Sun, 08 Dec 2024 11:46:37 UTC
On 2024-12-08T09:06:56.000+01:00, Jan Beich <jbeich@FreeBSD.org>
wrote:

> The branch main has been updated by jbeich:
> 
> URL: https://cgit.FreeBSD.org/ports/commit/?id=060f5301747fc31ed67f0fef2c94d10c97405e15
> 
> commit 060f5301747fc31ed67f0fef2c94d10c97405e15
> 
> Author:     Jan Beich <jbeich@FreeBSD.org>
> 
> AuthorDate: 2024-12-08 07:40:27 +0000
> 
> Commit:     Jan Beich <jbeich@FreeBSD.org>
> 
> CommitDate: 2024-12-08 08:06:40 +0000
> 
>     audio/pulseaudio-module-sndio: unbreak module version again
> 
>     
> 
>     Either pkgconfig or pulseaudio may not be available during patch phase.
> 
>     For example, poudriere shows the following:
> 
>     
> 
>     /bin/sh: /usr/local/bin/pkg-config: not found
> 
>     
> 
>     PR:             280857
> 
> ---
> 
>  audio/pulseaudio-module-sndio/Makefile | 4 ++--
> 
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/audio/pulseaudio-module-sndio/Makefile b/audio/pulseaudio-module-sndio/Makefile
> 
> index bdbcf9ebc44e..9960ae1b49dc 100644
> 
> --- a/audio/pulseaudio-module-sndio/Makefile
> 
> +++ b/audio/pulseaudio-module-sndio/Makefile
> 
> @@ -1,6 +1,6 @@
> 
>  PORTNAME=    pulseaudio-module-sndio
> 
>  DISTVERSION=    13.0
> 
> -PORTREVISION=    6
> 
> +PORTREVISION=    7
> 
>  CATEGORIES=    audio
> 
>  MASTER_SITES=    https://github.com/t6/pulseaudio-module-sndio/releases/download/${DISTVERSION}/
> 
>  
> 
> @@ -22,7 +22,7 @@ PLIST_FILES=    ${PULSE_MODDIR}/module-sndio.so [http://module-sndio.so]
> 
>  PULSE_MODDIR=    `${LOCALBASE}/bin/pkg-config --variable=modlibexecdir libpulse`
> 
>  PULSE_VERSION=    `${LOCALBASE}/bin/pkg-config --modversion libpulse`
> 
>  
> 
> -post-patch:
> 
> +pre-configure:
> 
>      ${REINPLACE_CMD} \
> 
>          -e "/^PA_MODULE_VERSION/s/0.0/${PULSE_VERSION}/1" \
> 
>          ${WRKSRC}/module-sndio.c

Hi,

This seems to be abandonware and it's unfetchable so deprecate and
mark it as broken?

Best regards,

Daniel