git: 0047b5fb1132 - main - devel/lief: Use PLIST_SUB to reduce further shilb changes in PLIST

Po-Chuan Hsieh <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by sunpoet:

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

commit 0047b5fb11326fa7ac12ad3cd11c397d669997bb
Author:     Po-Chuan Hsieh <[email protected]>
AuthorDate: 2026-08-19 12:24:45 +0000
Commit:     Po-Chuan Hsieh <[email protected]>
CommitDate: 2026-08-19 12:55:16 +0000

    devel/lief: Use PLIST_SUB to reduce further shilb changes in PLIST
---
 devel/lief/Makefile  | 2 ++
 devel/lief/pkg-plist | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/devel/lief/Makefile b/devel/lief/Makefile
index 35ff32f0757a..4d6545b012ac 100644
--- a/devel/lief/Makefile
+++ b/devel/lief/Makefile
@@ -72,6 +72,8 @@ CMAKE_ON=	BUILD_SHARED_LIBS \
 CMAKE_TESTING_ON=	\
 		LIEF_TESTS
 
+PLIST_SUB=	PORTVERSION=${PORTVERSION}
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	lief-project
 GH_PROJECT=	LIEF
diff --git a/devel/lief/pkg-plist b/devel/lief/pkg-plist
index 54386c013620..c3c0df9e61a1 100644
--- a/devel/lief/pkg-plist
+++ b/devel/lief/pkg-plist
@@ -553,7 +553,7 @@ lib/cmake/LIEF/LIEFExport-shared-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/LIEF/LIEFExport-shared.cmake
 lib/libLIEF.so
 lib/libLIEF.so.0
-lib/libLIEF.so.0.17.6
+lib/libLIEF.so.%%PORTVERSION%%
 libdata/pkgconfig/LIEF.pc
 share/LIEF/examples/c/elf_reader.c
 share/LIEF/examples/c/macho_reader.c
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.