git: b5376cbfeec7 - main - x11/libei: pacify check-plist with "make test"

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 19 May 2023 13:23:33 UTC
The branch main has been updated by jbeich:

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

commit b5376cbfeec7c4ebae0f3a33d458b6de495aeb1c
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-05-19 13:21:25 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-05-19 13:22:12 +0000

    x11/libei: pacify check-plist with "make test"
    
    Error: Orphaned: lib/libmunit.so
---
 x11/libei/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/x11/libei/Makefile b/x11/libei/Makefile
index 4be017189187..8abc9391b14d 100644
--- a/x11/libei/Makefile
+++ b/x11/libei/Makefile
@@ -47,6 +47,12 @@ BASU_DESC=		XDG RemoteDesktop portal via basu
 BASU_LIB_DEPENDS=	libbasu.so:devel/basu
 BASU_MESON_ENABLED=	liboeffis
 
+.ifdef GH_TUPLE
+post-configure:
+	@${REINPLACE_CMD} 's/meson install/& \
+		--skip-subprojects/' ${BUILD_WRKSRC}/build.ninja
+.endif
+
 pre-test:
 	@if [ ! -e ${WRKDIR}/.meson_build_tests ]; then \
 		${RM} ${CONFIGURE_COOKIE} ${BUILD_COOKIE}; \