git: 472c61489a7c - main - misc/compat10x: do not expose readline's shared libraries as provided

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 04 Jun 2025 11:35:03 UTC
The branch main has been updated by bapt:

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

commit 472c61489a7c9c1a6e4bc265ae50fdd575a093c9
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2025-06-04 11:28:18 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2025-06-04 11:28:18 +0000

    misc/compat10x: do not expose readline's shared libraries as provided
    
    the soname of readline when it was in base conflitcs with the actual
    version of readline in ports (both so.8) which means compat10x can
    satisfy the "libreadline.so.8" and the "libhistory.so.8" requirement
    while being binary incompatible.
    
    Let's hide this exposition.
    
    PR:             287002
---
 misc/compat10x/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/misc/compat10x/Makefile b/misc/compat10x/Makefile
index 6354b9fb0188..4662bf68a285 100644
--- a/misc/compat10x/Makefile
+++ b/misc/compat10x/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	compat10x
 PORTVERSION=	10.4.1004000.20181014
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	misc
 MASTER_SITES=	LOCAL/des
 PKGNAMESUFFIX=	-${ARCH}
@@ -16,6 +16,7 @@ PLIST=		${PKGDIR}/pkg-plist.${ARCH}
 TARGET_DIR=	${PREFIX}/lib/compat
 TARGET32_DIR=	${PREFIX}/lib32/compat
 USE_LDCONFIG=	${TARGET_DIR}
+NO_SHLIB_PROVIDES_GLOB= libreadline.so.* libhistory.so.*
 
 .include <bsd.port.pre.mk>