git: 904382ada0af - main - emulators/wine: Set USE_LDCONFIG unconditionally

From: Gerald Pfeifer <gerald_at_FreeBSD.org>
Date: Sat, 18 Oct 2025 16:39:48 UTC
The branch main has been updated by gerald:

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

commit 904382ada0af96081d029963f99793230cdb18b0
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-09-10 22:47:13 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-10-18 16:39:33 +0000

    emulators/wine: Set USE_LDCONFIG unconditionally
    
    Since removing emulators/i386-wine with commit 056135a38e in 2021
    we don't need to account for USE_LDCONFIG32 any longer and can
    set USE_LDCONFIG unconditionally.
---
 emulators/wine/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/emulators/wine/Makefile b/emulators/wine/Makefile
index 2dd3035e125d..febca4eb8b88 100644
--- a/emulators/wine/Makefile
+++ b/emulators/wine/Makefile
@@ -22,6 +22,7 @@ USES=		bison cpe desktop-file-utils gmake \
 		llvm:min=17,build,noexport localbase \
 		pkgconfig sdl shebangfix tar:xz
 USE_GCC=	yes
+USE_LDCONFIG=	${PREFIX}/lib ${PREFIX}/lib/wine
 USE_SDL=	sdl2
 
 CPE_VENDOR=	winehq
@@ -55,10 +56,6 @@ CONFIGURE_ARGS+=--verbose \
 		--without-unwind \
 		--without-usb
 CONFIGURE_ENV=	CPPBIN="${CPP}" FLEX="${LOCALBASE}/bin/flex"
-WINELIBDIR=	${PREFIX}/lib
-.if !defined(USE_LDCONFIG32)
-USE_LDCONFIG=	${WINELIBDIR} ${WINELIBDIR}/wine
-.endif
 SHEBANG_FILES=	tools/make_requests tools/winemaker/winemaker \
 		tools/winedump/function_grep.pl