| @@ -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 | |
4 | DISTNAME= vinagre-3.6.2 | | 4 | DISTNAME= vinagre-3.6.2 |
5 | PKGREVISION= 60 | | 5 | PKGREVISION= 60 |
6 | CATEGORIES= x11 gnome | | 6 | CATEGORIES= x11 gnome |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vinagre/3.6/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/vinagre/3.6/} |
8 | EXTRACT_SUFX= .tar.xz | | 8 | EXTRACT_SUFX= .tar.xz |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://projects.gnome.org/vinagre/ | | 11 | HOMEPAGE= https://projects.gnome.org/vinagre/ |
12 | COMMENT= VNC client for GNOME | | 12 | COMMENT= VNC client for GNOME |
13 | LICENSE= gnu-gpl-v3 | | 13 | LICENSE= gnu-gpl-v3 |
14 | | | 14 | |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | USE_TOOLS+= gmake intltool pkg-config itstool | | 17 | USE_TOOLS+= gmake intltool pkg-config itstool |
18 | USE_TOOLS+= msgfmt msgmerge xgettext | | 18 | USE_TOOLS+= msgfmt msgmerge xgettext |
19 | USE_LANGUAGES= c99 c++ | | 19 | USE_LANGUAGES= c99 c++ |
20 | | | 20 | |
21 | USE_PKGLOCALEDIR= yes | | 21 | USE_PKGLOCALEDIR= yes |
22 | | | 22 | |
23 | CFLAGS.SunOS+= -D__EXTENSIONS__ | | 23 | CFLAGS.SunOS+= -D__EXTENSIONS__ |
24 | LDFLAGS.SunOS+= -lnsl | | 24 | LDFLAGS.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].*) |
29 | CFLAGS+= -Wno-error=format-nonliteral | | 29 | CFLAGS+= -Wno-error=format-nonliteral |
30 | .endif | | 30 | .endif |
31 | | | 31 | |
32 | PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre | | 32 | PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre |
33 | PKG_SUPPORTED_OPTIONS= avahi telepathy | | 33 | PKG_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) |
36 | CONFIGURE_ARGS+= --without-avahi | | 36 | CONFIGURE_ARGS+= --without-avahi |
37 | .else | | 37 | .else |
38 | .include "../../net/avahi/buildlink3.mk" | | 38 | .include "../../net/avahi/buildlink3.mk" |
39 | .endif | | 39 | .endif |
40 | PLIST_VARS+= telepathy | | 40 | PLIST_VARS+= telepathy |
41 | .if !empty(PKG_OPTIONS:Mtelepathy) | | 41 | .if !empty(PKG_OPTIONS:Mtelepathy) |