git: 05753b7a0481 - 2025Q3 - www/qt6-webengine: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Aug 2025 01:42:24 UTC
The branch 2025Q3 has been updated by jhale:
URL: https://cgit.FreeBSD.org/ports/commit/?id=05753b7a048141ffe2365256544750726997fb9f
commit 05753b7a048141ffe2365256544750726997fb9f
Author: Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2025-08-28 01:36:18 +0000
Commit: Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2025-08-28 01:42:05 +0000
www/qt6-webengine: Fix build on i386
Use node20 for i386. Node processes are hanging on i386 with node22.
Reported by: pkg-fallout
MFH: 2025Q3
(cherry picked from commit 79b43d27cd71874c0dae7f412b1ac42e9a91fdf5)
---
www/qt6-webengine/Makefile | 16 +++++++++++++---
1 file changed, 13 insertions(+), 3 deletions(-)
diff --git a/www/qt6-webengine/Makefile b/www/qt6-webengine/Makefile
index e363ec6cf930..d06782364af6 100644
--- a/www/qt6-webengine/Makefile
+++ b/www/qt6-webengine/Makefile
@@ -19,6 +19,9 @@ PKGNAMEPREFIX= qt6-
MAINTAINER= kde@FreeBSD.org
COMMENT?= Qt 6 library to render web content
+# 32-bit platforms are not supported by upstream, but we're limping them along.
+ONLY_FOR_ARCHS= aarch64 amd64 armv7 i386
+
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}html5lib>0:www/py-html5lib@${PY_FLAVOR} \
${LOCALBASE}/include/vulkan/vulkan.h:graphics/vulkan-headers
LIB_DEPENDS= libfreetype.so:print/freetype2 \
@@ -26,9 +29,8 @@ LIB_DEPENDS= libfreetype.so:print/freetype2 \
libopenjp2.so:graphics/openjpeg \
libxkbcommon.so:x11/libxkbcommon
-USES= bison cmake compiler:c++20-lang gl gperf \
- localbase:ldflags ninja:build nodejs:build,lts \
- pkgconfig python:build qt-dist:6,webengine
+USES= bison cmake compiler:c++20-lang gl gperf localbase:ldflags \
+ ninja:build pkgconfig python:build qt-dist:6,webengine
USE_GL= opengl
USE_QT= base declarative tools
USE_XORG= x11 xcb xcomposite xcursor xdamage xext xfixes xi xkbfile \
@@ -139,6 +141,14 @@ SNDIO_CMAKE_ON= -DQT_FEATURE_webengine_system_sndio:BOOL=ON
SNDIO_CMAKE_OFF= -DQT_FEATURE_webengine_system_sndio:BOOL=OFF
.endif
+.include <bsd.port.options.mk>
+
+.if ${ARCH:Mi386}
+USES+= nodejs:build,20
+.else
+USES+= nodejs:build,lts
+.endif
+
post-extract:
@${MKDIR} ${WRKSRC}/src/3rdparty/chromium/media/audio/sndio \
${WRKSRC}/src/3rdparty/chromium/sandbox/policy/freebsd \