git: 1687f33c4959 - main - emulators/tpm-emulator: Fix USE_LDCONFIG

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 15 Mar 2025 09:10:36 UTC
The branch main has been updated by arrowd:

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

commit 1687f33c4959c2d914228e880700b85b6b8efcfe
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-03-15 09:09:57 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-03-15 09:10:27 +0000

    emulators/tpm-emulator: Fix USE_LDCONFIG
    
    Reported by:    pkg-devel exp-run
---
 emulators/tpm-emulator/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/emulators/tpm-emulator/Makefile b/emulators/tpm-emulator/Makefile
index 568c322d3a8b..7d4df1915007 100644
--- a/emulators/tpm-emulator/Makefile
+++ b/emulators/tpm-emulator/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tpm-emulator
 PORTVERSION=	0.7.4
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	emulators security
 MASTER_SITES=	SF/${PORTNAME}.berlios
 DISTNAME=	${PORTNAME:S,-,_,}-${PORTVERSION}
@@ -19,7 +19,7 @@ CONFIGURE_ENV=	PREFIX="${PREFIX}"
 CMAKE_ARGS=	-DTPM_INCLUDE_DIRS:STRING="${LOCALBASE}/include" \
 		-DTDDL_LIBRARY_DIRS:STRING="${LOCALBASE}/lib/tddl_emu" \
 		-DTPM_LIBRARY_DIRS:STRING="${LOCALBASE}/lib"
-USE_LDCONFIG=	yes
+USE_LDCONFIG=	${PREFIX}/lib/tddl_emu
 USERS=		_tss
 GROUPS=		_tss
 SUB_LIST=	USERS="${USERS}" GROUPS="${GROUPS}"