textproc/gtranslator needs c99 so we need to tell base-gcc to use it.

Fixes build on sparc64

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/gtranslator/Makefile,v
retrieving revision 1.87
diff -u -p -r1.87 Makefile
--- Makefile    14 May 2021 08:28:54 -0000      1.87
+++ Makefile    16 May 2021 03:27:15 -0000
@@ -37,4 +37,9 @@ MODGNOME_TOOLS=               desktop-file-utils gtk-
 
 DEBUG_PACKAGES=                ${BUILD_PACKAGES}
 
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS +=      -std=gnu99
+.endif
+
 .include <bsd.port.mk>

Reply via email to