Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: Retire gcc4.port.mk
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
ports@openbsd.org
Date:
Wed, 29 Apr 2026 08:34:41 +0100

Download raw body.

Thread
On 2026/04/29 07:46, Rafael Sadowski wrote:
> On Fri Feb 06, 2026 at 07:29:58PM +0100, Rafael Sadowski wrote:
> > Anyone?
> 
> For 7.9?

no more commits for 7.9, will need to be after.

> > > --- a/infrastructure/mk/compiler.port.mk
...
> > > -.    for _i in ${MODGCC4_ARCHS}
> > > +MODGCC_ARCHS ?=	${GCC49_ARCHS}
...
> > > --- a/lang/gcc/11/gcc4.port.mk
...
> > > --- a/lang/gcc/15/gcc4.port.mk
...
> > > --- a/lang/gcc/8/gcc4.port.mk
...
> > > @@ -1,45 +1,45 @@
> > > -MODGCC4_ARCHS ?= ${GCC49_ARCHS}
> > > -MODGCC4_LANGS ?=
> > > +MODGCC_ARCHS ?= ${GCC49_ARCHS}
> > > +MODGCC_LANGS ?=

rename to PORTSGCC_ARCHS?

> > >  # XXX revisit when we move to lang/gcc/11; also see ports which use
> > >  # fortran libraries that have "USE_NOBTCFI-aarch64.*# fortran"
> > >  USE_NOBTCFI-aarch64 ?=	Yes

we should check if this is still needed and either update or remove.

> > > +++ b/infrastructure/templates/mk.conf.template
> > > @@ -28,7 +28,7 @@
> > >  .poison LIB_DEPEDNS
> > >  .poison LIB_DEPEMDS
> > >  .poison LIB_DEPEND
> > > -.poison MODGCC4_ARCHES
> > > +.poison MODGCC_ARCHES

keep the old one, and let's add MODGCC4_ARCHS as well to try to poison
things for the old name.

the rest looks good.