git: f48100735d93 - main - emulators/wine: Copy, don't move, input for wine.1 man pages

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Wed, 21 May 2025 14:22:10 UTC
The branch main has been updated by gerald:

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

commit f48100735d939a414326119c028711c626c1cea7
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-05-21 14:20:19 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-05-21 14:20:19 +0000

    emulators/wine: Copy, don't move, input for wine.1 man pages
    
    This did not show up in my testing of eac9976c93c nor the original
    reporter, alas there were now two pkg-fallout@ notifications which
    hints at a potential timing issue, so leave the man pages also at
    their old locations in the source tree, i.e., copy instead of move.
    
    PR:             204227
---
 emulators/wine/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 12125ec82fc2..2df6984a7179 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -148,7 +148,7 @@ PLIST_SUB+=		WINE32="@comment " WINE64="" WINEARCH="x86_64"
 # FreeBSD yet.
 post-patch:
 	${REINPLACE_CMD} '/Exec/s|wine|wine64|g' ${WRKSRC}/loader/wine.desktop
-	${MV} ${WRKSRC}/loader/*.man.in ${WRKSRC}/tools/wine/
+	${CP} ${WRKSRC}/loader/*.man.in ${WRKSRC}/tools/wine/
 
 .else
 EXTRA_PATCHES+=	files/extra-patch-tools-winebuild-res32