git: a3932284f43d - main - audio/linux-rl9-alsa-plugins-oss: fix symlink to oss plugin config

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 13 Nov 2024 01:06:41 UTC
The branch main has been updated by fluffy:

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

commit a3932284f43d194b3290d3e9db0411d149890219
Author:     Dima Panov <fluffy@FreeBSD.org>
AuthorDate: 2024-11-13 01:05:04 +0000
Commit:     Dima Panov <fluffy@FreeBSD.org>
CommitDate: 2024-11-13 01:06:32 +0000

    audio/linux-rl9-alsa-plugins-oss: fix symlink to oss plugin config
    
    Sponsored by:   Future Crew, LLC
---
 audio/linux-rl9-alsa-plugins-oss/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/audio/linux-rl9-alsa-plugins-oss/Makefile b/audio/linux-rl9-alsa-plugins-oss/Makefile
index 1423269d2c04..1bb35b57e494 100644
--- a/audio/linux-rl9-alsa-plugins-oss/Makefile
+++ b/audio/linux-rl9-alsa-plugins-oss/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	alsa-plugins
 PORTVERSION=	1.2.7.1
 DISTVERSIONSUFFIX=	-1.el9
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	audio linux
 PKGNAMESUFFIX=	-oss
 
@@ -25,4 +25,8 @@ DOCSDIR=	${PREFIX}/usr/share/doc/${PORTNAME}${PKGNAMESUFFIX}
 
 OPTIONS_DEFINE=	DOCS
 
+post-patch:
+	@${LN} -sf ../../../usr/share/alsa/alsa.conf.d/50-oss.conf \
+		${WRKSRC}/etc/alsa/conf.d
+
 .include <bsd.port.mk>