Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: textproc/libfyaml needs ports-gcc for stdatomic.h
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org
Date:
Thu, 6 Nov 2025 13:13:00 +0100

Download raw body.

Thread
On Thu, Nov 06, 2025 at 11:41:12AM +0100, Theo Buehler wrote:
> On Thu, Nov 06, 2025 at 11:35:50AM +0100, Claudio Jeker wrote:
> > To build textproc/libfyaml sparc64 needs to use ports-gcc since this code
> > uses stdatomic.h.
> > 
> > -- 
> > :wq Claudio
> > 
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/textproc/libfyaml/Makefile,v
> > diff -u -p -r1.2 Makefile
> > --- Makefile	3 Oct 2025 09:49:34 -0000	1.2
> > +++ Makefile	6 Nov 2025 10:25:56 -0000
> > @@ -12,6 +12,10 @@ CATEGORIES=		textproc devel
> >  # MIT
> >  PERMIT_PACKAGE=		Yes
> >  
> > +# needs stdatomic.h
> > +COMPILER_LANGS=		c
> > +COMPILER=		base-clang ports-gcc
> 
> Please flip the order to the lines. It helps grepability. People also
> like to have this after WANTLIB for some reason
> 
> ok tb
> 

Ugh, jca@ already beat me to this. My ports tree is a bit because of all
the gcc15 builds.

-- 
:wq Claudio