git: 2895c1dc9c4e - main - emulators/wine-devel: Fix packaging with OSS off

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 21:05:54 UTC
The branch main has been updated by gerald:

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

commit 2895c1dc9c4efbdfaff99db514569da9ca2223b1
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2022-04-22 21:04:17 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2022-04-22 21:04:17 +0000

    emulators/wine-devel: Fix packaging with OSS off
    
    With revision ce1e733047cfa6bdea3d1bfb767814c7fa2a9809 we introduced
    a choice between ALSA and OSS, the latter being the default as before.
    This fixes the packaging list when OSS is off (and ALSA on).
---
 emulators/wine-devel/pkg-plist | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emulators/wine-devel/pkg-plist b/emulators/wine-devel/pkg-plist
index a70415aef03b..377a321ee2ff 100644
--- a/emulators/wine-devel/pkg-plist
+++ b/emulators/wine-devel/pkg-plist
@@ -1420,7 +1420,7 @@ lib/wine/%%WINEARCH%%-unix/qcap.so
 lib/wine/%%WINEARCH%%-unix/secur32.so
 lib/wine/%%WINEARCH%%-unix/win32u.so
 lib/wine/%%WINEARCH%%-unix/winebus.so
-lib/wine/%%WINEARCH%%-unix/wineoss.drv.so
+%%OSS%%lib/wine/%%WINEARCH%%-unix/wineoss.drv.so
 lib/wine/%%WINEARCH%%-unix/winevulkan.so
 %%X11%%lib/wine/%%WINEARCH%%-unix/winex11.drv.so
 lib/wine/%%WINEARCH%%-unix/winspool.so
@@ -2301,7 +2301,7 @@ lib/wine/%%WINEARCH%%-windows/winemapi.dll
 lib/wine/%%WINEARCH%%-windows/winemenubuilder.exe
 lib/wine/%%WINEARCH%%-windows/winemine.exe
 lib/wine/%%WINEARCH%%-windows/winemsibuilder.exe
-lib/wine/%%WINEARCH%%-windows/wineoss.drv
+%%OSS%%lib/wine/%%WINEARCH%%-windows/wineoss.drv
 lib/wine/%%WINEARCH%%-windows/winepath.exe
 lib/wine/%%WINEARCH%%-windows/wineps.drv
 %%WINE32%%lib/wine/%%WINEARCH%%-windows/wineps16.drv16