git: bb687d9dbbce - main - www/qt5-webengine: brand installed shared libraries
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Jun 2025 13:27:42 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=bb687d9dbbce01e04df1f7f53ba36f595c764e47
commit bb687d9dbbce01e04df1f7f53ba36f595c764e47
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-06-04 07:46:39 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-06-09 13:27:11 +0000
www/qt5-webengine: brand installed shared libraries
For some reason, the shared libraries installed by this package are
branded as being for the SYSV ABI instead of the FreeBSD ABI. This
confuses pkg, making dependent packages fail in build-depends.
Stick a FreeBSD ELF brand on to work around this issue.
Reported by: Mark Millard <marklmi@yahoo.com>
MFH: 2025Q2
---
www/qt5-webengine/Makefile | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/www/qt5-webengine/Makefile b/www/qt5-webengine/Makefile
index 82986332de6c..2dcf124b2e88 100644
--- a/www/qt5-webengine/Makefile
+++ b/www/qt5-webengine/Makefile
@@ -19,7 +19,7 @@
PORTNAME= webengine
PORTVERSION= ${QT5_VERSION}${QT5_KDE_PATCH}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= www
PKGNAMEPREFIX= qt5-
@@ -171,4 +171,10 @@ post-build:
${BUILD_WRKSRC}/lib/cmake/Qt5${module}/Qt5${module}Config.cmake
.endfor
+post-install:
+ for lib in ${STAGEDIR}${PREFIX}/${QT_LIBDIR_REL}/*.so.${_QT_VERSION:C/-.*//} ; \
+ do \
+ ${BRANDELF} -t FreeBSD $$lib ; \
+ done
+
.include <bsd.port.post.mk>