On Fri, Jun 26, 2020 at 08:54:50PM -0400, Kurt Mosiejczuk wrote:
> Another C99 port. Needs the following to compile on sparc64 and other
> base-gcc arches.

> ok?

ping?

> --Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/glade/Makefile,v
retrieving revision 1.89
diff -u -p -r1.89 Makefile
--- Makefile    3 Jul 2020 21:12:38 -0000       1.89
+++ Makefile    25 Jul 2020 19:53:04 -0000
@@ -46,6 +46,11 @@ MODGNOME_TOOLS += gobject-introspection 
 CONFIGURE_STYLE=       gnu
 CONFIGURE_ARGS +=      --disable-webkit2gtk
 
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS +=              -std=gnu99
+.endif
+
 DEBUG_PACKAGES =       ${BUILD_PACKAGES}
 
 post-install:

Reply via email to