Index | Thread | Search

From:
Theo Buehler <tb@theobuehler.org>
Subject:
Re: fix fort validator on sparc64
To:
ports@openbsd.org
Date:
Tue, 13 Feb 2024 12:12:14 +0100

Download raw body.

Thread
On Tue, Feb 13, 2024 at 12:10:09PM +0100, Claudio Jeker wrote:
> fort uses stdatomic.h and needs to use either base-clang or ports-gcc.
> With this diff fort compiles on sparc64

Please add COMPILER_LANGS = c, then it's ok tb

> Does this require a bump?

No. It doesn't change the package where already built

> -- 
> :wq Claudio
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/net/fort/Makefile,v
> diff -u -p -r1.2 Makefile
> --- Makefile	19 Jan 2024 14:26:09 -0000	1.2
> +++ Makefile	13 Feb 2024 11:08:17 -0000
> @@ -13,6 +13,9 @@ MAINTAINER =		Claudio Jeker <claudio@ope
>  # MIT
>  PERMIT_PACKAGE =	Yes
>  
> +# stdatomic.h
> +COMPILER =		base-clang ports-gcc
> +
>  SITES =			https://github.com/NICMx/FORT-validator/releases/download/$V/
>  CONFIGURE_STYLE =	gnu
>  CONFIGURE_ENV +=	CPPFLAGS="-I${LOCALBASE}/include" \
>