Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
better py-gobject3 diff
To:
Antoine Jacoutot <ajacoutot@openbsd.org>
Cc:
ports@openbsd.org
Date:
Wed, 26 Nov 2025 14:26:01 +0100

Download raw body.

Thread
I think this old hack to include the gcc4 module is no longer needed.
All of this should happen now anyway since lang/python sets COMPILER
and COMPILER_LANGS now and we use ports-gcc by default.

To me this feels like old left over from before the invention of COMPILER
and COMPILER_LANG but I may be off. What do I know about ports :)
This builds on sparc64 so I hope it should be fine.
-- 
:wq Claudio

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/py-gobject3/Makefile,v
diff -u -p -r1.100 Makefile
--- Makefile	26 Nov 2025 10:14:02 -0000	1.100
+++ Makefile	26 Nov 2025 13:09:15 -0000
@@ -17,9 +17,6 @@ PERMIT_PACKAGE=		Yes
 
 WANTLIB += cairo cairo-gobject ffi girepository-2.0 glib-2.0 gobject-2.0
 
-COMPILER=		base-clang ports-gcc
-COMPILER_LANGS=		c
-
 MODULES=		devel/meson \
 			lang/python \
 			x11/gnome
@@ -27,10 +24,6 @@ MODULES=		devel/meson \
 MODGNOME_TOOLS=		gobject-introspection
 
 MODPY_PYBUILD=		setuptools
-
-# XXX https://bugzilla.gnome.org/show_bug.cgi?id=737874
-MODULES +=		gcc4
-MODGCC4_ARCHS=		${GCC4_ARCHS}
 
 BUILD_DEPENDS=		graphics/py-cairo