Index | Thread | Search

From:
Antoine Jacoutot <ajacoutot@bsdfrog.org>
Subject:
Re: better py-gobject3 diff
To:
ports@openbsd.org
Date:
Wed, 26 Nov 2025 18:26:40 +0100

Download raw body.

Thread
On Wed, Nov 26, 2025 at 02:26:01PM +0100, Claudio Jeker wrote:
> 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.

If it builds :-)

> 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
>  

-- 
Antoine