From: Claudio Jeker Subject: ports in need of ports-gcc to build To: ports@openbsd.org Cc: Enzo Nicosia , Sebastian Reitenbach , Rafael Sadowski Date: Tue, 27 Jan 2026 14:44:55 +0100 Here is another batch of ports that need COMPILER and COMPILER_LANGS to build on sparc64. These ports need modern C support of some sort: cad/xnec2c comms/rtl_433 math/cddlib This is a modern C++ port devel/kdbindings This port can now use ports-gcc instead of ports-clang which makes it build devel/qcoro Another C++ port which now needs a downgraded C++ std (C++14) japanese/kasumi A rust monster that needs a modern c compiler: cargo:warning=cc1: error: unrecognized command line option "-Wsign-conversion" cargo:warning=cc1: error: unrecognized command line option "-std=c1x" net/flare-messenger -- :wq Claudio Index: cad/xnec2c/Makefile =================================================================== RCS file: /cvs/ports/cad/xnec2c/Makefile,v diff -u -p -r1.1.1.1 Makefile --- cad/xnec2c/Makefile 6 Jan 2026 14:11:43 -0000 1.1.1.1 +++ cad/xnec2c/Makefile 26 Jan 2026 13:49:49 -0000 @@ -17,6 +17,9 @@ PERMIT_PACKAGE = Yes WANTLIB += c cairo gdk-3 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 WANTLIB += gobject-2.0 gtk-3 intl m pango-1.0 pangocairo-1.0 pthread +COMPILER = base-clang ports-gcc +COMPILER_LANGS= c + BUILD_DEPENDS = devel/gettext,-tools LIB_DEPENDS = devel/gettext,-runtime \ Index: comms/rtl_433/Makefile =================================================================== RCS file: /cvs/ports/comms/rtl_433/Makefile,v diff -u -p -r1.1.1.1 Makefile --- comms/rtl_433/Makefile 19 Jan 2026 08:05:09 -0000 1.1.1.1 +++ comms/rtl_433/Makefile 26 Jan 2026 13:31:38 -0000 @@ -13,6 +13,9 @@ PERMIT_PACKAGE= Yes WANTLIB += c m pthread usb-1.0 crypto rtlsdr ssl +COMPILER = base-clang ports-gcc +COMPILER_LANGS= c + MODULES = devel/cmake LIB_DEPENDS = comms/rtl-sdr \ devel/libusb1 Index: devel/kdbindings/Makefile =================================================================== RCS file: /cvs/ports/devel/kdbindings/Makefile,v diff -u -p -r1.1.1.1 Makefile --- devel/kdbindings/Makefile 10 Jan 2026 12:36:49 -0000 1.1.1.1 +++ devel/kdbindings/Makefile 23 Jan 2026 19:49:35 -0000 @@ -11,6 +11,8 @@ PERMIT_PACKAGE = Yes MODULES = devel/cmake +COMPILER = base-clang ports-gcc + NO_BUILD = Yes pre-test: Index: devel/qcoro/Makefile =================================================================== RCS file: /cvs/ports/devel/qcoro/Makefile,v diff -u -p -r1.20 Makefile --- devel/qcoro/Makefile 19 Jan 2026 10:47:03 -0000 1.20 +++ devel/qcoro/Makefile 22 Jan 2026 14:41:44 -0000 @@ -27,8 +27,7 @@ PERMIT_PACKAGE = Yes WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6DBus Qt6Gui Qt6Network WANTLIB += Qt6OpenGL Qt6Qml Qt6Quick Qt6WebSockets m -# Coroutines are part of C++ 20 and implemented in GCC 10 -COMPILER = base-clang ports-clang +COMPILER = base-clang ports-gcc MODULES = devel/cmake \ x11/qt6 Index: japanese/kasumi/Makefile =================================================================== RCS file: /cvs/ports/japanese/kasumi/Makefile,v diff -u -p -r1.27 Makefile --- japanese/kasumi/Makefile 15 Nov 2023 19:56:56 -0000 1.27 +++ japanese/kasumi/Makefile 26 Jan 2026 14:35:21 -0000 @@ -18,8 +18,8 @@ WANTLIB += freetype gdk-x11-2.0 gdk_pixb WANTLIB += gobject-2.0 gtk-x11-2.0 iconv intl m pango-1.0 pangocairo-1.0 WANTLIB += pangoft2-1.0 pthread ${COMPILER_LIBCXX} z harfbuzz -COMPILER = base-clang ports-gcc base-gcc -CXXFLAGS_base-clang = -std=c++14 +COMPILER = base-clang ports-gcc base-gcc +CXXFLAGS = -std=c++14 BUILD_DEPENDS = devel/gettext,-tools RUN_DEPENDS = devel/desktop-file-utils Index: math/cddlib/Makefile =================================================================== RCS file: /cvs/ports/math/cddlib/Makefile,v diff -u -p -r1.6 Makefile --- math/cddlib/Makefile 2 Jan 2026 10:12:36 -0000 1.6 +++ math/cddlib/Makefile 26 Jan 2026 14:08:29 -0000 @@ -16,6 +16,9 @@ PERMIT_PACKAGE = Yes WANTLIB += c gmp +COMPILER = base-clang ports-gcc +COMPILER_LANGS = c + LIB_DEPENDS = devel/gmp USE_GMAKE = Yes Index: net/flare-messenger/Makefile =================================================================== RCS file: /cvs/ports/net/flare-messenger/Makefile,v diff -u -p -r1.2 Makefile --- net/flare-messenger/Makefile 18 Dec 2025 22:04:20 -0000 1.2 +++ net/flare-messenger/Makefile 26 Jan 2026 14:31:57 -0000 @@ -26,6 +26,9 @@ WANTLIB += ${MODCARGO_WANTLIB} adwaita-1 WANTLIB += gio-2.0 glib-2.0 gobject-2.0 gtk-4 gtksourceview-5 WANTLIB += intl m pango-1.0 spelling-1 +COMPILER = base-clang ports-gcc +COMPILER_LANGS= c + MODULES= devel/cargo \ devel/dconf \ devel/meson