mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
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
This commit is contained in:
parent
00fc44c63d
commit
060f530174
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue