aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Clausecker <fuz@FreeBSD.org>2025-06-04 07:46:39 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-06-09 13:28:41 +0000
commit8782dabadd95aeb94739c3697d35098e7e0f47d6 (patch)
tree83b1d55ee6974d75591e2f7e068a8546ae5ea3b2
parent780ed934f98fc3585ba55643d4e71531dca6036e (diff)
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 (cherry picked from commit bb687d9dbbce01e04df1f7f53ba36f595c764e47)
-rw-r--r--www/qt5-webengine/Makefile8
1 files changed, 7 insertions, 1 deletions
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>