git: d30fafb82776 - main - audio/pipewire-spa-oss: Install the module into a correct place

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 20:02:34 UTC
The branch main has been updated by arrowd:

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

commit d30fafb827768ed2b571a19f5a6a18cecf73ba9a
Author:     Alex S <iwtcex@gmail.com>
AuthorDate: 2024-10-25 20:02:03 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-10-25 20:02:03 +0000

    audio/pipewire-spa-oss: Install the module into a correct place
---
 audio/pipewire-spa-oss/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/audio/pipewire-spa-oss/Makefile b/audio/pipewire-spa-oss/Makefile
index 2b2421f276a9..08924a2162e1 100644
--- a/audio/pipewire-spa-oss/Makefile
+++ b/audio/pipewire-spa-oss/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	pipewire-spa-oss
 DISTVERSION=	g20241021
+PORTREVISION=	1
 CATEGORIES=	audio
 
 MAINTAINER=	arrowd@FreeBSD.org
@@ -96,14 +97,14 @@ CARGO_CRATES=	aho-corasick-1.1.3 \
 		yansi-term-0.1.2 \
 		libspa,libspa-sys@git+https://gitlab.freedesktop.org/pipewire/pipewire-rs.git?rev=016e554768ae251c8de3724ea4b06f4749a8dd00\#016e554768ae251c8de3724ea4b06f4749a8dd00
 
-PLIST_FILES=	lib/spa-0.2/freebsd_oss/libspa_freebsd_oss.so \
+PLIST_FILES=	lib/spa-0.2/libspa_freebsd_oss.so \
 		share/pipewire/pipewire.conf.d/oss.conf \
 		share/wireplumber/scripts/monitors/oss.lua \
 		share/wireplumber/wireplumber.conf.d/oss.conf
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/lib/spa-0.2/freebsd_oss
-	${INSTALL_LIB} ${WRKDIR}/target/release/libspa_freebsd_oss.so ${STAGEDIR}${PREFIX}/lib/spa-0.2/freebsd_oss
+	${MKDIR} ${STAGEDIR}${PREFIX}/lib/spa-0.2
+	${INSTALL_LIB} ${WRKDIR}/target/release/libspa_freebsd_oss.so ${STAGEDIR}${PREFIX}/lib/spa-0.2
 
 	${MKDIR} ${STAGEDIR}${PREFIX}/share/pipewire/pipewire.conf.d
 	${INSTALL_DATA} ${WRKSRC}/conf/pipewire/pipewire.conf.d/oss.conf ${STAGEDIR}${PREFIX}/share/pipewire/pipewire.conf.d