databases/pspg fails to build on sparc64 with: src/args.c: In function 'print_versions': src/args.c:262: error: '__SIZEOF_WCHAR_T__' undeclared (first use in this function) src/args.c:262: error: (Each undeclared identifier is reported only once src/args.c:262: error: for each function it appears in.)
Swapping COMPILER to base-clang pors-gcc fixes the build on sparc64. ok? (cc MAINTAINER) --Kurt Index: Makefile =================================================================== RCS file: /cvs/ports/databases/pspg/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 14 Dec 2021 09:42:35 -0000 1.5 +++ Makefile 5 Jan 2022 07:33:10 -0000 @@ -13,6 +13,9 @@ MAINTAINER = Omar Polo <o...@omarpolo.com> #BSD2 PERMIT_PACKAGE = Yes +COMPILER = base-clang ports-gcc +COMPILER_LANGS = c + WANTLIB += c curses ereadline m panel pq LIB_DEPENDS = databases/postgresql,-main \