diff options
author | Robert Clausecker <fuz@FreeBSD.org> | 2025-06-04 07:46:39 +0000 |
---|---|---|
committer | Robert Clausecker <fuz@FreeBSD.org> | 2025-06-09 13:27:11 +0000 |
commit | bb687d9dbbce01e04df1f7f53ba36f595c764e47 (patch) | |
tree | 4f6a91bfcca1e5893bb690f35c68ca20717bdd12 | |
parent | f50fbb73b8b323ac2ec7c1756fdff2c360d13e7d (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
-rw-r--r-- | www/qt5-webengine/Makefile | 8 |
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> |