Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
qcoro, switch to ports-gcc
To:
Rafael Sadowski <rsadowski@openbsd.org>
Cc:
ports@openbsd.org
Date:
Thu, 22 Jan 2026 15:44:04 +0100

Download raw body.

Thread
Now with gcc15 we have coroutines and C++20 support.
Better to compile this with ports-gcc than ports-clang

This built and packaged in my previous builk like this.
-- 
:wq Claudio

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/qcoro/Makefile,v
diff -u -p -r1.20 Makefile
--- Makefile	19 Jan 2026 10:47:03 -0000	1.20
+++ 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