On Sat, Apr 16, 2022 at 09:37:29PM -0400, Kurt Mosiejczuk wrote:
> 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?
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
>
>
--
Antoine