git: 060f5301747f - main - audio/pulseaudio-module-sndio: unbreak module version again
Date: Sun, 08 Dec 2024 08:06:50 UTC
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
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