Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: www/py-multidict needs ports-gcc
To:
ports@openbsd.org
Date:
Thu, 6 Nov 2025 10:58:06 +0100

Download raw body.

Thread
On Thu, Nov 06, 2025 at 10:52:34AM +0100, Claudio Jeker wrote:
> www/py-multidict uses C11 features and so needs port-gcc to build on
> sparc64.
> 
> -- 
> :wq Claudio
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/www/py-multidict/Makefile,v
> diff -u -p -r1.24 Makefile
> --- Makefile	1 Sep 2025 17:25:10 -0000	1.24
> +++ Makefile	4 Nov 2025 16:09:03 -0000
> @@ -10,6 +10,9 @@ WANTLIB +=	pthread ${MODPY_WANTLIB}
>  # Apache2
>  PERMIT_PACKAGE=	Yes
>  
> +# -std=c11
> +COMPILER=	base-clang ports-gcc

Please also set

COMPILER_LANGS=	c

since it does not use c++.

ok tb

> +
>  MODULES=	lang/python
>  MODPY_PYBUILD=	setuptools
>  MODPY_PI=	Yes
>