Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
more lang/python vs c++ code fixes
To:
ports@openbsd.org
Date:
Wed, 3 Dec 2025 11:53:43 +0100

Download raw body.

Thread
This is from my last bulk build on sparc64.
This should unbreak most of qt5.

-- 
:wq Claudio

Index: audio/mumble/Makefile
===================================================================
RCS file: /cvs/ports/audio/mumble/Makefile,v
diff -u -p -r1.85 Makefile
--- audio/mumble/Makefile	2 Sep 2025 17:57:52 -0000	1.85
+++ audio/mumble/Makefile	3 Dec 2025 10:01:15 -0000
@@ -103,6 +103,10 @@ MULTI_PACKAGES =	-main -server
 
 DEBUG_PACKAGES =	${BUILD_PACKAGES}
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS =	c c++
+
 MODULES =		devel/cmake \
 			lang/python \
 			x11/qt5
Index: databases/kdb/Makefile
===================================================================
RCS file: /cvs/ports/databases/kdb/Makefile,v
diff -u -p -r1.16 Makefile
--- databases/kdb/Makefile	21 Oct 2025 06:56:19 -0000	1.16
+++ databases/kdb/Makefile	3 Dec 2025 10:01:44 -0000
@@ -21,6 +21,10 @@ WANTLIB += Qt5Widgets Qt5Xml c icui18n i
 SITES =		${SITE_KDE:=stable/kdb/src/}
 EXTRACT_SUFX =	.tar.xz
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS = 	c c++
+
 MODULES =		devel/cmake \
 			lang/python \
 			devel/kf5
Index: devel/kf5/kdelibs4support/Makefile
===================================================================
RCS file: /cvs/ports/devel/kf5/kdelibs4support/Makefile,v
diff -u -p -r1.38 Makefile
--- devel/kf5/kdelibs4support/Makefile	17 Aug 2025 10:45:19 -0000	1.38
+++ devel/kf5/kdelibs4support/Makefile	3 Dec 2025 10:02:22 -0000
@@ -17,6 +17,10 @@ WANTLIB += Qt5Core Qt5DBus Qt5Designer Q
 WANTLIB += Qt5Svg Qt5Test Qt5Widgets Qt5X11Extras Qt5Xml SM X11
 WANTLIB += Xext c m xcb
 
+# needs c++ and python
+COMPILER =	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES =	lang/python
 MODPY_RUNDEP =	No
 
Index: devel/kf5/kdesu/Makefile
===================================================================
RCS file: /cvs/ports/devel/kf5/kdesu/Makefile,v
diff -u -p -r1.19 Makefile
--- devel/kf5/kdesu/Makefile	6 May 2024 12:22:40 -0000	1.19
+++ devel/kf5/kdesu/Makefile	3 Dec 2025 10:02:37 -0000
@@ -7,6 +7,10 @@ SHARED_LIBS =	KF5Su		7.0
 WANTLIB += ${COMPILER_LIBCXX} ICE KF5ConfigCore KF5CoreAddons
 WANTLIB += KF5I18n KF5Pty Qt5Core SM X11 Xext c m
 
+# needs c++ and python
+COMPILER =	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES +=	lang/python
 
 # required only for tests
Index: devel/kf5/ki18n/Makefile
===================================================================
RCS file: /cvs/ports/devel/kf5/ki18n/Makefile,v
diff -u -p -r1.26 Makefile
--- devel/kf5/ki18n/Makefile	21 Dec 2024 11:39:33 -0000	1.26
+++ devel/kf5/ki18n/Makefile	3 Dec 2025 10:02:57 -0000
@@ -7,6 +7,10 @@ SHARED_LIBS +=	KF5I18nLocaleData	1.0
 
 WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt5Network Qt5Qml intl m
 
+# needs c++ and python
+COMPILER =	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES +=	lang/python
 
 MODPY_BUILDDEP =	No
Index: devel/kreport/Makefile
===================================================================
RCS file: /cvs/ports/devel/kreport/Makefile,v
diff -u -p -r1.18 Makefile
--- devel/kreport/Makefile	21 Oct 2025 06:46:06 -0000	1.18
+++ devel/kreport/Makefile	3 Dec 2025 10:03:15 -0000
@@ -23,6 +23,10 @@ WANTLIB += Qt5Xml m
 SITES =		${SITE_KDE:=stable/kreport/src/}
 EXTRACT_SUFX =	.tar.xz
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS =	c c++
+
 MODULES =		devel/kf5 \
 			lang/python
 
Index: editors/TeXmacs/Makefile
===================================================================
RCS file: /cvs/ports/editors/TeXmacs/Makefile,v
diff -u -p -r1.35 Makefile
--- editors/TeXmacs/Makefile	5 Feb 2025 05:06:32 -0000	1.35
+++ editors/TeXmacs/Makefile	3 Dec 2025 10:04:34 -0000
@@ -19,6 +19,10 @@ WANTLIB += ${COMPILER_LIBCXX} Qt5Core Qt
 WANTLIB += Qt5Widgets c execinfo freetype gmp guile jpeg ltdl
 WANTLIB += m png sqlite3 util z
 
+# needs c++ and python
+COMPILER=	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES=	devel/cmake \
 		lang/python \
 		x11/qt5
Index: editors/neovim-qt/Makefile
===================================================================
RCS file: /cvs/ports/editors/neovim-qt/Makefile,v
diff -u -p -r1.14 Makefile
--- editors/neovim-qt/Makefile	17 Jul 2025 06:01:27 -0000	1.14
+++ editors/neovim-qt/Makefile	3 Dec 2025 10:04:52 -0000
@@ -17,6 +17,10 @@ PERMIT_PACKAGE = Yes
 WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6Gui Qt6Network Qt6Svg
 WANTLIB += Qt6SvgWidgets Qt6Widgets c m msgpack-c
 
+# needs c++ and python
+COMPILER=	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES =	devel/cmake \
 		lang/python \
 		x11/qt6
Index: editors/tiled/Makefile
===================================================================
RCS file: /cvs/ports/editors/tiled/Makefile,v
diff -u -p -r1.26 Makefile
--- editors/tiled/Makefile	3 Nov 2025 22:27:51 -0000	1.26
+++ editors/tiled/Makefile	3 Dec 2025 10:05:15 -0000
@@ -17,6 +17,10 @@ PERMIT_PACKAGE =	Yes
 WANTLIB += ${COMPILER_LIBCXX} ${MODPY_WANTLIB} GL c m z
 WANTLIB += Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Qml Qt5Widgets
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS =	c c++
+
 # if necessary (i.e. failure to build after updating), the Python plugin
 # can be disabled with MODQMAKE_ARGS= DISABLE_PYTHON_PLUGIN=yes.
 # it's disabled by default in preferences anyway and not required for
Index: graphics/cstitch/Makefile
===================================================================
RCS file: /cvs/ports/graphics/cstitch/Makefile,v
diff -u -p -r1.15 Makefile
--- graphics/cstitch/Makefile	18 Jul 2025 19:07:06 -0000	1.15
+++ graphics/cstitch/Makefile	3 Dec 2025 10:16:26 -0000
@@ -10,6 +10,10 @@ DISTFILES.icons =	${DISTNAME}-icons{icon
 
 SITES.icons =	https://sourceforge.net/projects/cstitch/files/Cstitch/Icons/
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS =	c c++
+
 MODULES =		devel/qmake lang/python x11/qt5
 
 MODPY_RUNDEP =		No
Index: graphics/dia/Makefile
===================================================================
RCS file: /cvs/ports/graphics/dia/Makefile,v
diff -u -p -r1.129 Makefile
--- graphics/dia/Makefile	7 Nov 2025 13:58:31 -0000	1.129
+++ graphics/dia/Makefile	3 Dec 2025 10:06:19 -0000
@@ -15,6 +15,10 @@ WANTLIB += glib-2.0 gmodule-2.0 gobject-
 WANTLIB += intl m pango-1.0 pangocairo-1.0 poppler ${MODPY_WANTLIB}
 WANTLIB += xml2 xpm-pixbuf xslt
 
+# needs c++ and python
+COMPILER=		base-clang ports-gcc
+COMPILER_LANGS=		c c++
+
 MODULES=		lang/python \
 			devel/meson \
 			x11/gnome
Index: graphics/krita/Makefile
===================================================================
RCS file: /cvs/ports/graphics/krita/Makefile,v
diff -u -p -r1.85 Makefile
--- graphics/krita/Makefile	25 Sep 2025 12:43:54 -0000	1.85
+++ graphics/krita/Makefile	3 Dec 2025 10:06:40 -0000
@@ -61,6 +61,10 @@ WANTLIB += webpmux z
 SITES =		${SITE_KDE:=stable/krita/${VERSION}/}
 EXTRACT_SUFX =	.tar.xz
 
+# needs c++ and python
+COMPILER =	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES =	devel/kf5 \
 		lang/python
 
Index: net/qbittorrent/qbittorrent/Makefile
===================================================================
RCS file: /cvs/ports/net/qbittorrent/qbittorrent/Makefile,v
diff -u -p -r1.38 Makefile
--- net/qbittorrent/qbittorrent/Makefile	27 Dec 2024 08:27:55 -0000	1.38
+++ net/qbittorrent/qbittorrent/Makefile	3 Dec 2025 10:07:51 -0000
@@ -3,6 +3,10 @@ COMMENT =		BitTorrent client with Qt int
 WANTLIB += ${COMPILER_LIBCXX} GL Qt6Core Qt6DBus Qt6Gui Qt6Network
 WANTLIB += Qt6Sql Qt6Widgets Qt6Xml c crypto m ssl torrent-rasterbar z
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS =	c c++
+
 MODULES =		lang/python
 
 MODPY_BUILDDEP =	No
Index: print/lyx/Makefile
===================================================================
RCS file: /cvs/ports/print/lyx/Makefile,v
diff -u -p -r1.113 Makefile
--- print/lyx/Makefile	21 Sep 2025 15:18:23 -0000	1.113
+++ print/lyx/Makefile	3 Dec 2025 10:08:12 -0000
@@ -21,6 +21,10 @@ WANTLIB+= hunspell-1.7 iconv m magic xcb
 # GPLv2+
 PERMIT_PACKAGE=	Yes
 
+# needs c++ and python
+COMPILER=	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES=	lang/python \
 		x11/qt6
 
Index: x11/kde-applications/umbrello/Makefile
===================================================================
RCS file: /cvs/ports/x11/kde-applications/umbrello/Makefile,v
diff -u -p -r1.42 Makefile
--- x11/kde-applications/umbrello/Makefile	1 Nov 2025 11:16:43 -0000	1.42
+++ x11/kde-applications/umbrello/Makefile	3 Dec 2025 10:10:07 -0000
@@ -26,6 +26,10 @@ MODCLANG_COMPILER_LINKS = no
 
 MODKDE_KF5 = yes
 
+# needs c++ and python
+COMPILER =	base-clang ports-gcc
+COMPILER_LANGS=	c c++
+
 MODULES +=	lang/python
 
 RUN_DEPENDS =	math/graphviz
Index: x11/qt5/qtdeclarative/Makefile
===================================================================
RCS file: /cvs/ports/x11/qt5/qtdeclarative/Makefile,v
diff -u -p -r1.32 Makefile
--- x11/qt5/qtdeclarative/Makefile	27 Nov 2025 07:01:16 -0000	1.32
+++ x11/qt5/qtdeclarative/Makefile	3 Dec 2025 10:10:32 -0000
@@ -19,6 +19,10 @@ SHARED_LIBS +=  Qt5QmlWorkerScript      
 WANTLIB-main += ${COMPILER_LIBCXX} GL Qt5Core Qt5Gui Qt5Network Qt5Sql
 WANTLIB-main += Qt5Test Qt5Widgets c m
 
+# needs c++ and python
+COMPILER =		base-clang ports-gcc
+COMPILER_LANGS =	c c++
+
 MODULES =		lang/python
 MODPY_RUNDEP =		No