| @@ -1,36 +1,39 @@ | | | @@ -1,36 +1,39 @@ |
1 | # $NetBSD: Makefile,v 1.56 2014/05/05 00:48:16 ryoon Exp $ | | 1 | # $NetBSD: Makefile,v 1.57 2014/07/09 12:20:04 jperkin Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= vinagre-3.6.2 | | 4 | DISTNAME= vinagre-3.6.2 |
5 | PKGREVISION= 19 | | 5 | PKGREVISION= 19 |
6 | CATEGORIES= x11 | | 6 | CATEGORIES= x11 |
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= http://projects.gnome.org/vinagre/ | | 11 | HOMEPAGE= http://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 | BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool | | 15 | BUILD_DEPENDS+= itstool-[0-9]*:../../textproc/itstool |
16 | | | 16 | |
17 | GNU_CONFIGURE= yes | | 17 | GNU_CONFIGURE= yes |
18 | USE_LIBTOOL= yes | | 18 | USE_LIBTOOL= yes |
19 | USE_TOOLS+= gmake intltool pkg-config msgfmt | | 19 | USE_TOOLS+= gmake intltool pkg-config msgfmt |
20 | USE_LANGUAGES= c c++ | | 20 | USE_LANGUAGES= c99 c++ |
21 | | | 21 | |
22 | USE_PKGLOCALEDIR= yes | | 22 | USE_PKGLOCALEDIR= yes |
23 | | | 23 | |
| | | 24 | CFLAGS.SunOS+= -D__EXTENSIONS__ |
| | | 25 | LDFLAGS.SunOS+= -lnsl |
| | | 26 | |
24 | .include "../../mk/compiler.mk" | | 27 | .include "../../mk/compiler.mk" |
25 | .if !empty(PKGSRC_COMPILER:Mclang) | | 28 | .if !empty(PKGSRC_COMPILER:Mclang) |
26 | CFLAGS+= -Wno-error=format-nonliteral | | 29 | CFLAGS+= -Wno-error=format-nonliteral |
27 | .endif | | 30 | .endif |
28 | | | 31 | |
29 | PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre | | 32 | PKG_OPTIONS_VAR= PKG_OPTIONS.vinagre |
30 | PKG_SUPPORTED_OPTIONS= avahi telepathy | | 33 | PKG_SUPPORTED_OPTIONS= avahi telepathy |
31 | .include "../../mk/bsd.options.mk" | | 34 | .include "../../mk/bsd.options.mk" |
32 | .if empty(PKG_OPTIONS:Mavahi) | | 35 | .if empty(PKG_OPTIONS:Mavahi) |
33 | CONFIGURE_ARGS+= --without-avahi | | 36 | CONFIGURE_ARGS+= --without-avahi |
34 | .else | | 37 | .else |
35 | .include "../../net/avahi/buildlink3.mk" | | 38 | .include "../../net/avahi/buildlink3.mk" |
36 | .endif | | 39 | .endif |