Download raw body.
sparc64's most wanted ports fixes
On Sun, 27 Apr 2025 09:16:58 +0200,
Kurt Mosiejczuk <kurt@cranky.work> wrote:
>
> https://cranky.work/sparc64/2025-04-23/x11/qt6/qtbase.log
>
> Looks like this may have hidden dependencies and/or problems with cmake
> finding necessary modules.
>
The first two issues you may solve by diff belove, but it ends with the fact
that GCC8 doesn't support all used features around constexpr for example.
Probably the code can be ported to C++ that is supported by GCC8 but it huge
work and it need to be repeated with each update :(
Index: Makefile
===================================================================
RCS file: /home/cvs/ports/x11/qt6/qtbase/Makefile,v
diff -u -p -r1.42 Makefile
--- Makefile 15 Apr 2025 17:29:05 -0000 1.42
+++ Makefile 29 Apr 2025 22:11:16 -0000
@@ -129,7 +129,6 @@ CONFIGURE_ARGS += -DCMAKE_INSTALL_PREFIX
-DFEATURE_openssl_linked=ON \
-DFEATURE_system_sqlite=ON \
-DFEATURE_system_xcb_xinput=ON \
- -DFEATURE_no_direct_extern_access=ON \
-DFEATURE_libproxy=ON \
-DFEATURE_dtls=OFF
@@ -162,3 +161,11 @@ MODCMAKE_LDFLAGS += -L${X11BASE}/lib -L$
CXXFLAGS += -I${X11BASE}/include -I${LOCALBASE}/include
.include <bsd.port.mk>
+
+.if ${CHOSEN_COMPILER} == ports-gcc
+# gcc8: undefined reference to `std::filesystem::__cxx11::path::_M_split_cmpts()'
+MODCMAKE_LDFLAGS += -lstdc++fs
+.else
+# gcc8 fails when no_direct_extern_access is enabled
+CONFIGURE_ARGS += -DFEATURE_no_direct_extern_access=ON
+.endif
--
wbr, Kirill
sparc64's most wanted ports fixes