On Mon, Jul 27, 2020 at 05:08:51PM -0400, Kurt Mosiejczuk wrote:
> Another port that fails with:
> 
> /usr/local/include/spice-1/spice/enums.h:374: error: expected ',' or '}' 
> before 
> '__attribute__'
> 
> Adding a COMPILER line with ports-gcc fixes it.

OK


> 
> ok?
> 
> (cc Maintainer)
> 
> --Kurt
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/x11/gnome/vinagre/Makefile,v
> retrieving revision 1.115
> diff -u -p -r1.115 Makefile
> --- Makefile  14 Mar 2020 15:15:22 -0000      1.115
> +++ Makefile  27 Jul 2020 20:49:22 -0000
> @@ -21,6 +21,9 @@ WANTLIB += spice-client-gtk-3.0 telepath
>  MODULES=             devel/dconf \
>                       x11/gnome
>  
> +COMPILER=            base-clang ports-gcc ports-clang
> +COMPILER_LANGS=              c
> +
>  LIB_DEPENDS=         devel/vte3 \
>                       net/avahi,,-gtk3 \
>                       net/telepathy/telepathy-glib \
> 

-- 
Antoine

Reply via email to