| @@ -1,91 +1,91 @@ | | | @@ -1,91 +1,91 @@ |
1 | # $NetBSD: Makefile,v 1.94 2018/05/15 15:29:44 jperkin Exp $ | | 1 | # $NetBSD: Makefile,v 1.95 2018/06/03 22:09:52 youri Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= gvfs-1.6.7 | | 4 | DISTNAME= gvfs-1.6.7 |
5 | PKGREVISION= 35 | | 5 | PKGREVISION= 35 |
6 | CATEGORIES= sysutils | | 6 | CATEGORIES= sysutils |
7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gvfs/1.6/} | | 7 | MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gvfs/1.6/} |
8 | EXTRACT_SUFX= .tar.bz2 | | 8 | EXTRACT_SUFX= .tar.bz2 |
9 | | | 9 | |
10 | MAINTAINER= pkgsrc-users@NetBSD.org | | 10 | MAINTAINER= pkgsrc-users@NetBSD.org |
11 | HOMEPAGE= https://www.gnome.org/ | | 11 | HOMEPAGE= https://www.gnome.org/ |
12 | COMMENT= Userspace virtual filesystem | | 12 | COMMENT= Userspace virtual filesystem |
13 | LICENSE= gnu-lgpl-v2 | | 13 | LICENSE= gnu-lgpl-v2 |
14 | | | 14 | |
15 | GNU_CONFIGURE= yes | | 15 | GNU_CONFIGURE= yes |
16 | USE_LIBTOOL= yes | | 16 | USE_LIBTOOL= yes |
17 | USE_TOOLS+= intltool gmake pkg-config msgfmt | | 17 | USE_TOOLS+= intltool gmake pkg-config msgfmt |
18 | CONFIGURE_ARGS+= --enable-http | | 18 | CONFIGURE_ARGS+= --enable-http |
19 | CONFIGURE_ARGS+= --disable-bash-completion | | 19 | CONFIGURE_ARGS+= --disable-bash-completion |
20 | | | 20 | |
21 | .include "../../mk/bsd.prefs.mk" | | 21 | .include "../../mk/bsd.prefs.mk" |
22 | | | 22 | |
23 | PKG_OPTIONS_VAR= PKG_OPTIONS.gvfs | | 23 | PKG_OPTIONS_VAR= PKG_OPTIONS.gvfs |
24 | PKG_SUPPORTED_OPTIONS+= avahi hal fuse samba | | 24 | PKG_SUPPORTED_OPTIONS+= avahi hal fuse samba |
25 | PKG_SUGGESTED_OPTIONS+= hal samba | | 25 | PKG_SUGGESTED_OPTIONS+= samba |
26 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} | | 26 | PLIST_VARS+= ${PKG_SUPPORTED_OPTIONS} |
27 | | | 27 | |
28 | # XXX fuse.bl3.mk will fail if we include it and fuse is not available | | 28 | # XXX fuse.bl3.mk will fail if we include it and fuse is not available |
29 | .if ${OPSYS} == "Linux" #|| (${OPSYS} == "NetBSD" && exists(/usr/include/fuse.h)) | | 29 | .if ${OPSYS} == "Linux" #|| (${OPSYS} == "NetBSD" && exists(/usr/include/fuse.h)) |
30 | PKG_SUGGESTED_OPTIONS+= fuse | | 30 | PKG_SUGGESTED_OPTIONS+= fuse |
31 | .endif | | 31 | .endif |
32 | | | 32 | |
33 | .include "../../mk/bsd.options.mk" | | 33 | .include "../../mk/bsd.options.mk" |
34 | | | 34 | |
35 | .if !empty(PKG_OPTIONS:Mavahi) | | 35 | .if !empty(PKG_OPTIONS:Mavahi) |
36 | .include "../../net/avahi/buildlink3.mk" | | 36 | .include "../../net/avahi/buildlink3.mk" |
37 | CONFIGURE_ARGS+= --enable-avahi | | 37 | CONFIGURE_ARGS+= --enable-avahi |
38 | PLIST.avahi= yes | | 38 | PLIST.avahi= yes |
39 | .else | | 39 | .else |
40 | CONFIGURE_ARGS+= --disable-avahi | | 40 | CONFIGURE_ARGS+= --disable-avahi |
41 | .endif | | 41 | .endif |
42 | | | 42 | |
43 | .if !empty(PKG_OPTIONS:Msamba) | | 43 | .if !empty(PKG_OPTIONS:Msamba) |
44 | CONFIGURE_ARGS+= --with-samba-includes=${BUILDLINK_PREFIX.samba}/include | | 44 | CONFIGURE_ARGS+= --with-samba-includes=${BUILDLINK_PREFIX.samba}/include |
45 | CONFIGURE_ARGS+= --with-samba-libs=${BUILDLINK_PREFIX.samba}/lib | | 45 | CONFIGURE_ARGS+= --with-samba-libs=${BUILDLINK_PREFIX.samba}/lib |
46 | .include "../../net/samba/buildlink3.mk" | | 46 | .include "../../net/samba/buildlink3.mk" |
47 | PLIST.samba= yes | | 47 | PLIST.samba= yes |
48 | .else | | 48 | .else |
49 | CONFIGURE_ARGS+= --disable-samba | | 49 | CONFIGURE_ARGS+= --disable-samba |
50 | .endif | | 50 | .endif |
51 | | | 51 | |
52 | .if !empty(PKG_OPTIONS:Mhal) | | 52 | .if !empty(PKG_OPTIONS:Mhal) |
53 | .include "../../misc/libcdio-paranoia/buildlink3.mk" | | 53 | .include "../../misc/libcdio-paranoia/buildlink3.mk" |
54 | .include "../../sysutils/hal/buildlink3.mk" | | 54 | .include "../../sysutils/hal/buildlink3.mk" |
55 | CONFIGURE_ARGS+= --enable-hal | | 55 | CONFIGURE_ARGS+= --enable-hal |
56 | CONFIGURE_ARGS+= --enable-cdda | | 56 | CONFIGURE_ARGS+= --enable-cdda |
57 | PLIST.hal= yes | | 57 | PLIST.hal= yes |
58 | .else | | 58 | .else |
59 | CONFIGURE_ARGS+= --disable-hal | | 59 | CONFIGURE_ARGS+= --disable-hal |
60 | CONFIGURE_ARGS+= --disable-cdda | | 60 | CONFIGURE_ARGS+= --disable-cdda |
61 | .endif | | 61 | .endif |
62 | | | 62 | |
63 | .if !empty(PKG_OPTIONS:Mfuse) | | 63 | .if !empty(PKG_OPTIONS:Mfuse) |
64 | .include "../../mk/fuse.buildlink3.mk" | | 64 | .include "../../mk/fuse.buildlink3.mk" |
65 | CONFIGURE_ARGS+= --enable-fuse | | 65 | CONFIGURE_ARGS+= --enable-fuse |
66 | PLIST.fuse= yes | | 66 | PLIST.fuse= yes |
67 | .else | | 67 | .else |
68 | CONFIGURE_ARGS+= --disable-fuse | | 68 | CONFIGURE_ARGS+= --disable-fuse |
69 | .endif | | 69 | .endif |
70 | | | 70 | |
71 | BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED | | 71 | BUILDLINK_TRANSFORM+= rm:-DG_DISABLE_DEPRECATED |
72 | | | 72 | |
73 | .include "../../mk/compiler.mk" | | 73 | .include "../../mk/compiler.mk" |
74 | | | 74 | |
75 | .if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) | | 75 | .if !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-[6-9]*) |
76 | CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ | | 76 | CFLAGS.SunOS+= -D_XOPEN_SOURCE=600 -D__EXTENSIONS__ |
77 | .else | | 77 | .else |
78 | CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ | | 78 | CFLAGS.SunOS+= -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ |
79 | .endif | | 79 | .endif |
80 | | | 80 | |
81 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.23.4 | | 81 | BUILDLINK_API_DEPENDS.glib2+= glib2>=2.23.4 |
82 | .include "../../devel/glib2/modules.mk" | | 82 | .include "../../devel/glib2/modules.mk" |
83 | .include "../../sysutils/dbus/buildlink3.mk" | | 83 | .include "../../sysutils/dbus/buildlink3.mk" |
84 | .include "../../archivers/libarchive/buildlink3.mk" | | 84 | .include "../../archivers/libarchive/buildlink3.mk" |
85 | BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.26.0 | | 85 | BUILDLINK_API_DEPENDS.libsoup+= libsoup>=2.26.0 |
86 | .include "../../net/libsoup/buildlink3.mk" | | 86 | .include "../../net/libsoup/buildlink3.mk" |
87 | .include "../../textproc/libxml2/buildlink3.mk" | | 87 | .include "../../textproc/libxml2/buildlink3.mk" |
88 | .include "../../devel/GConf/buildlink3.mk" | | 88 | .include "../../devel/GConf/buildlink3.mk" |
89 | .include "../../security/libgnome-keyring/buildlink3.mk" | | 89 | .include "../../security/libgnome-keyring/buildlink3.mk" |
90 | .include "../../security/openssl/buildlink3.mk" | | 90 | .include "../../security/openssl/buildlink3.mk" |
91 | .include "../../mk/bsd.pkg.mk" | | 91 | .include "../../mk/bsd.pkg.mk" |