desktop-file-utils uses "-std=gnu11" which gets this on a base-gcc arch:

cc1: error: unrecognized command line option "-std=gnu11"

This patch adds the correct COMPILER line to fix the build on sparc64 and
other base-gcc arches.

ok?

--Kurt

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/desktop-file-utils/Makefile,v
retrieving revision 1.57
diff -u -r1.57 Makefile
--- Makefile    19 Jun 2020 15:01:10 -0000      1.57
+++ Makefile    20 Jun 2020 06:10:12 -0000
@@ -20,6 +20,8 @@
 
 MASTER_SITES=  https://freedesktop.org/software/desktop-file-utils/releases/
 
+COMPILER=      base-clang ports-gcc
+
 MODULES=       devel/meson
 
 LIB_DEPENDS=   devel/glib2

Reply via email to