On Wed, 13 Mar 2024 19:07:07 +0000

> On March 13, 2024 7:24:26 PM GMT+01:00, Stuart Henderson via ports
>
> I think something like this would be preferable
>
> # requires C++20
> COMPILER = base-clang
>  

I attached the diffs with this change

> > On 2024/03/13 19:36, Tobias Heider via ports wrote:
> >
> > but then you could also add ports clang and ports gcc right?
> > they should also support newer c++ versions  

currently these ports use:

COMPILER = base-clang ports-gcc

yet they still fail on architectures without a C++20 compat compiler
afaik.

> > > "Stuart Henderson via ports" <ports@openbsd.org> wrote:
> > > Could try it, but it seems fairly doubtful that they'll be good
> > > enough, c++20 support in gcc 8 was pretty limited (and uses
> > > -std=c++2a not -std=c++20), and ports-clang on base-gcc archs uses
> > > libestdc++ from gcc 8. (gcc/11 is in the ports tree but can't be
> > > used in bulks unless all c++ ports on whichever arch are switched
> > > from 8 to 11 otherwise there will be build conflicts).

This seems like the most reasonable fail-safe solution given the time
crunch. OK to merge?

-- 
-iz (they/them)

> i like to say mundane things, 
> there are too many uninteresting things 
> that go unnoticed.

izder456 (dot) neocities (dot) org
diff --git billyfrontier/Makefile billyfrontier/Makefile
index 5462bab38..9ba3101ff 100644
--- billyfrontier/Makefile
+++ billyfrontier/Makefile
@@ -18,7 +18,7 @@ PERMIT_PACKAGE = Yes
 WANTLIB +=	${COMPILER_LIBCXX} GL SDL2 c m
 
 # C++20
-COMPILER =	base-clang ports-gcc
+COMPILER =	base-clang
 
 MODULES =	devel/cmake
 
diff --git ottomatic/Makefile ottomatic/Makefile
index 55f9e5297..a250fbcaf 100644
--- ottomatic/Makefile
+++ ottomatic/Makefile
@@ -19,7 +19,7 @@ PERMIT_PACKAGE = Yes
 WANTLIB +=	${COMPILER_LIBCXX} GL SDL2 c m
 
 # C++20
-COMPILER =	base-clang ports-gcc
+COMPILER =	base-clang 
 
 MODULES =	devel/cmake
 
diff --git mightymike/Makefile mightymike/Makefile
index 0149fc600..a6ec28fbe 100644
--- mightymike/Makefile
+++ mightymike/Makefile
@@ -18,7 +18,7 @@ PERMIT_PACKAGE = Yes
 WANTLIB +=	${COMPILER_LIBCXX} GL SDL2 c m
 
 # C++20
-COMPILER =	base-clang ports-gcc
+COMPILER =	base-clang
 
 MODULES =	devel/cmake
 
diff --git nanosaur/Makefile nanosaur/Makefile
index 96bcc0c6a..e8e9fd651 100644
--- nanosaur/Makefile
+++ nanosaur/Makefile
@@ -18,7 +18,7 @@ PERMIT_PACKAGE = Yes
 WANTLIB +=	${COMPILER_LIBCXX} GL SDL2 c m
 
 # C++20
-COMPILER =	base-clang ports-gcc
+COMPILER =	base-clang
 
 MODULES =	devel/cmake
 
diff --git bugdom2/Makefile bugdom2/Makefile
index 89dc4ad6f..eee36bbde 100644
--- bugdom2/Makefile
+++ bugdom2/Makefile
@@ -18,7 +18,7 @@ PERMIT_PACKAGE = Yes
 WANTLIB +=	${COMPILER_LIBCXX} GL SDL2 c m
 
 # C++20
-COMPILER =	base-clang ports-gcc
+COMPILER =	base-clang
 
 MODULES =	devel/cmake
 
diff --git bugdom/Makefile bugdom/Makefile
index f48f280f6..b6a8357fb 100644
--- bugdom/Makefile
+++ bugdom/Makefile
@@ -18,7 +18,7 @@ PERMIT_PACKAGE = Yes
 WANTLIB +=	${COMPILER_LIBCXX} GL SDL2 c m
 
 # C++20
-COMPILER =	base-clang ports-gcc
+COMPILER =	base-clang
 
 MODULES =	devel/cmake
 

Reply via email to