Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: Remove gcc3 from ports
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Fri, 24 Oct 2025 09:19:01 +0200

Download raw body.

Thread
On Fri Oct 24, 2025 at 07:23:03AM +0100, Stuart Henderson wrote:
> + missed some bits from arch-defines.mk
> 

It's easier to grep for gcc3. Thanks

Index: bsd.port.arch.mk.5
===================================================================
RCS file: /cvs/src/share/man/man5/bsd.port.arch.mk.5,v
diff -u -p -r1.14 bsd.port.arch.mk.5
--- bsd.port.arch.mk.5	16 May 2024 09:52:58 -0000	1.14
+++ bsd.port.arch.mk.5	24 Oct 2025 07:17:40 -0000
@@ -86,7 +86,6 @@ It will set up the following variables f
 .It Ev COMPILER_VERSION
 .It Ev CX11_ARCHS
 .It Ev DEBUGINFO_ARCHS
-.It Ev GCC3_ARCHS
 .It Ev GCC4_ARCHS
 .It Ev GCC49_ARCHS
 .It Ev GO_ARCHS
@@ -144,7 +143,7 @@ A more detailed description of each vari
 .Pp
 All the constant values
 .Ev ARCH , ALL_ARCHS , COMPILER_VERSION ,
-.Ev GCC3_ARCHS , GCC4_ARCHS , LP64_ARCHS
+.Ev GCC4_ARCHS , LP64_ARCHS
 and
 .Ev PROPERTIES
 are also available from
Index: bsd.port.mk.5
===================================================================
RCS file: /cvs/src/share/man/man5/bsd.port.mk.5,v
diff -u -p -r1.652 bsd.port.mk.5
--- bsd.port.mk.5	16 Oct 2025 09:50:02 -0000	1.652
+++ bsd.port.mk.5	24 Oct 2025 07:17:41 -0000
@@ -1432,8 +1432,6 @@ First element in the list that matches w
 gcc 4.2 compiler from base
 .It base-clang
 clang compiler from base
-.It gcc3
-gcc 3 compiler from base
 .It ports-gcc
 gcc 8 compiler from ports
 (heeds
@@ -1452,7 +1450,7 @@ On clang-based architectures, even thoug
 never matches.
 .Pp
 Defaults to base compilers, e.g.,
-.Sq base-clang base-gcc gcc3 .
+.Sq base-clang base-gcc .
 .Pp
 Common reasons for explicitly setting
 .Ev COMPILER
@@ -1530,8 +1528,8 @@ preferring various gnu programs, unless
 .Ev BUILD_DEPENDS
 explicitly ask for them.
 Read-only, available for debugging purposes.
-.It Ev CLANG_ARCHS, GCC3_ARCHS , GCC4_ARCHS
-List of architectures using Clang, GCC 3.3.6 or GCC 4.2.1 as the base compiler.
+.It Ev CLANG_ARCHS, GCC4_ARCHS
+List of architectures using Clang or GCC 4.2.1 as the base compiler.
 Read-only.
 Use with
 .Ev NOT_FOR_ARCHS