emulators/libretro-genesis-plus-gx needs the usual C99 treatment

This fixes the build on sparc64

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/libretro-genesis-plus-gx/Makefile,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile
--- Makefile    23 Feb 2021 16:29:14 -0000      1.3
+++ Makefile    24 May 2021 01:39:43 -0000
@@ -34,4 +34,9 @@ do-install:
        ${INSTALL_DATA} ${WRKSRC}/LICENSE.txt \
                ${PREFIX}/share/doc/libretro-genesis-plus-gx
 
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS +=      -std=gnu99
+.endif
+
 .include <bsd.port.mk>

Reply via email to