git: 63698f06a1f6 - 2024Q4 - audio/pulseaudio-module-sndio: unbreak module version again

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sun, 08 Dec 2024 08:08:28 UTC
The branch 2024Q4 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=63698f06a1f6e1f2bfa1ea5b50506d86596a5524

commit 63698f06a1f6e1f2bfa1ea5b50506d86596a5524
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:08:06 +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
    (cherry picked from commit 060f5301747fc31ed67f0fef2c94d10c97405e15)
---
 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 6c2cb3d3a3bc..9f4fa9b70e16 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=	5
+PORTREVISION=	6
 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
 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