[sparc64/base-gcc] Fix build of net/toxic

2021-01-14 Thread Kurt Mosiejczuk
toxic uses C99 constructs, so base-gcc needs to be told that.

This fixes the build on sparc64.

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/net/toxic/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile3 Jan 2021 19:36:09 -   1.9
+++ Makefile15 Jan 2021 05:36:09 -
@@ -44,6 +44,11 @@ LIB_DEPENDS +=   devel/libnotify
 RUN_DEPENDS =  devel/desktop-file-utils
 .endif
 
+.include 
+.if !${PROPERTIES:Mclang}
+CFLAGS +=  -std=gnu99
+.endif
+
 NO_TEST =  Yes
 
 pre-configure:



[sparc64/base-gcc] Fix build of net/toxic

2021-01-09 Thread Kurt Mosiejczuk
toxic uses C99 constructs so base-gcc needs to be told that.

This fixes the build on sparc64

ok?

--Kurt

Index: Makefile
===
RCS file: /cvs/ports/net/toxic/Makefile,v
retrieving revision 1.9
diff -u -p -r1.9 Makefile
--- Makefile3 Jan 2021 19:36:09 -   1.9
+++ Makefile10 Jan 2021 01:29:19 -
@@ -44,6 +44,11 @@ LIB_DEPENDS +=   devel/libnotify
 RUN_DEPENDS =  devel/desktop-file-utils
 .endif
 
+.include 
+.if !${PROPERTIES:Mclang}
+CFLAGS +=  -std=gnu99
+.endif
+
 NO_TEST =  Yes
 
 pre-configure: