git: af5e803d13e8 - main - emulators/wine8: Clean environment for gmake

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Wed, 15 May 2024 22:51:15 UTC
The branch main has been updated by gerald:

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

commit af5e803d13e8ed05979561eb435dcf6bde24b11b
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2024-05-15 22:50:52 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2024-05-15 22:50:52 +0000

    emulators/wine8: Clean environment for gmake
    
    Backport c9fcc6ef30 from emulators/wine-devel.
    
    PR:             277913
---
 emulators/wine8/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/emulators/wine8/Makefile b/emulators/wine8/Makefile
index 97fa767d38df..caf829d89da5 100644
--- a/emulators/wine8/Makefile
+++ b/emulators/wine8/Makefile
@@ -139,7 +139,7 @@ PLIST_SUB+=		WINE32="" WINE64="@comment " WINEARCH="i386"
 .endif
 
 pre-build:
-	cd ${WRKSRC} && ${MAKE_CMD} depend
+	cd ${WRKSRC} && ${SETENVI} ${WRK_ENV} ${MAKE_CMD} depend
 
 post-install:
 .if ${ARCH} == i386