Tue Sep 28 12:59:11 2021 UTC ()
vinagre: Support GCC >= 10.


(jperkin)
diff -r1.103 -r1.104 pkgsrc/net/vinagre/Makefile

cvs diff -r1.103 -r1.104 pkgsrc/net/vinagre/Makefile (expand / switch to unified diff)

--- pkgsrc/net/vinagre/Makefile 2021/05/02 10:24:51 1.103
+++ pkgsrc/net/vinagre/Makefile 2021/09/28 12:59:11 1.104
@@ -1,41 +1,41 @@ @@ -1,41 +1,41 @@
1# $NetBSD: Makefile,v 1.103 2021/05/02 10:24:51 nia Exp $ 1# $NetBSD: Makefile,v 1.104 2021/09/28 12:59:11 jperkin Exp $
2# 2#
3 3
4DISTNAME= vinagre-3.6.2 4DISTNAME= vinagre-3.6.2
5PKGREVISION= 60 5PKGREVISION= 60
6CATEGORIES= x11 gnome 6CATEGORIES= x11 gnome
7MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vinagre/3.6/} 7MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vinagre/3.6/}
8EXTRACT_SUFX= .tar.xz 8EXTRACT_SUFX= .tar.xz
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= https://projects.gnome.org/vinagre/ 11HOMEPAGE= https://projects.gnome.org/vinagre/
12COMMENT= VNC client for GNOME 12COMMENT= VNC client for GNOME
13LICENSE= gnu-gpl-v3 13LICENSE= gnu-gpl-v3
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= gmake intltool pkg-config itstool 17USE_TOOLS+= gmake intltool pkg-config itstool
18USE_TOOLS+= msgfmt msgmerge xgettext 18USE_TOOLS+= msgfmt msgmerge xgettext
19USE_LANGUAGES= c99 c++ 19USE_LANGUAGES= c99 c++
20 20
21USE_PKGLOCALEDIR= yes 21USE_PKGLOCALEDIR= yes
22 22
23CFLAGS.SunOS+= -D__EXTENSIONS__ 23CFLAGS.SunOS+= -D__EXTENSIONS__
24LDFLAGS.SunOS+= -lnsl 24LDFLAGS.SunOS+= -lnsl
25 25
26.include "../../mk/compiler.mk" 26.include "../../mk/compiler.mk"
27 27
28.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9].*) 28.if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9].*) || !empty(CC_VERSION:Mgcc-1[0-9].*)
29CFLAGS+= -Wno-error=format-nonliteral 29CFLAGS+= -Wno-error=format-nonliteral
30.endif 30.endif
31 31
32PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre 32PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre
33PKG_SUPPORTED_OPTIONS= avahi telepathy 33PKG_SUPPORTED_OPTIONS= avahi telepathy
34.include "../../mk/bsd.options.mk" 34.include "../../mk/bsd.options.mk"
35.if empty(PKG_OPTIONS:Mavahi) 35.if empty(PKG_OPTIONS:Mavahi)
36CONFIGURE_ARGS+= --without-avahi 36CONFIGURE_ARGS+= --without-avahi
37.else 37.else
38.include "../../net/avahi/buildlink3.mk" 38.include "../../net/avahi/buildlink3.mk"
39.endif 39.endif
40PLIST_VARS+= telepathy 40PLIST_VARS+= telepathy
41.if !empty(PKG_OPTIONS:Mtelepathy) 41.if !empty(PKG_OPTIONS:Mtelepathy)