The new glib2 uses C++ so we need ports-gcc on sparc64.
Theoretically using C++ means that ${CXXLIBS} should be in WANTLIB, but it
wasn't there before and it is building ok on amd64.
ok?
(cc maintainer)
--Kurt
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/glib2/Makefile,v
retrieving revision 1.360
diff -u -p -r1.360 Makefile
--- Makefile 14 Apr 2022 13:40:38 -0000 1.360
+++ Makefile 17 Apr 2022 01:35:00 -0000
@@ -23,6 +23,9 @@ SHARED_LIBS += gio-2.0
# LGPLv2
PERMIT_PACKAGE= Yes
+# C++
+COMPILER= base-clang ports-gcc
+
# uses pledge()
WANTLIB += c elf>=2 ffi iconv intl pcre pthread z