libdvdnav has sprouted C99 constructs, so we need to inform base-gcc.

This fixes the build on sparc64

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/multimedia/libdvdnav/Makefile,v
retrieving revision 1.28
diff -u -r1.28 Makefile
--- Makefile    15 Dec 2020 18:57:43 -0000      1.28
+++ Makefile    19 Dec 2020 22:59:08 -0000
@@ -22,4 +22,9 @@
 
 CONFIGURE_STYLE= gnu
 
+.include <bsd.port.arch.mk>
+.if !${PROPERTIES:Mclang}
+CFLAGS+=       -std=gnu99
+.endif
+
 .include <bsd.port.mk>

Reply via email to