View | Details | Raw Unified | Return to bug 215381 | Differences between
and this patch

Collapse All | Expand All

(-)devel/gnome-vfs/Makefile (-35 / +20 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	gnome-vfs
4
PORTNAME=	gnome-vfs
5
PORTVERSION=	2.24.4
5
PORTVERSION=	2.24.4
6
PORTREVISION?=	8
6
PORTREVISION=	9
7
CATEGORIES=	devel gnome
7
CATEGORIES=	devel gnome
8
MASTER_SITES=	GNOME
8
MASTER_SITES=	GNOME
9
DIST_SUBDIR=	gnome2
9
DIST_SUBDIR=	gnome2
Lines 38-43 Link Here
38
		--with-hal-mount=/sbin/mount \
38
		--with-hal-mount=/sbin/mount \
39
		--with-hal-umount=/sbin/umount \
39
		--with-hal-umount=/sbin/umount \
40
		ac_cv_header_sys_inotify_h=no
40
		ac_cv_header_sys_inotify_h=no
41
CONFIGURE_ENV+=	KRB5_CONFIG=${KRB5CONFIG}
41
CPPFLAGS+=	-I${LOCALBASE}/include
42
CPPFLAGS+=	-I${LOCALBASE}/include
42
LDFLAGS+=	-L${LOCALBASE}/lib
43
LDFLAGS+=	-L${LOCALBASE}/lib
43
44
Lines 48-90 Link Here
48
		desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
49
		desktop_gnome_url_handlers.schemas system_dns_sd.schemas \
49
		system_http_proxy.schemas system_smb.schemas
50
		system_http_proxy.schemas system_smb.schemas
50
51
51
OPTIONS_DEFINE=	SAMBA MDNS HAL
52
OPTIONS_DEFINE=			SAMBA MDNS HAL FAM
52
OPTIONS_DEFAULT=SAMBA MDNS HAL
53
OPTIONS_DEFAULT=		SAMBA MDNS HAL FAM GSSAPI_BASE
53
SAMBA_DESC=	Enable SMB volume support
54
OPTIONS_SINGLE=			KERBEROS
54
MDNS_DESC=	Enable Bonjour/Rendezvous support
55
OPTIONS_SINGLE_KERBEROS=	GSSAPI_BASE GSSAPI_HEIMDAL GSSAPI_MIT
56
OPTIONS_SUB=			yes
57
SAMBA_DESC=			Enable SMB volume support
58
SAMBA_USES=			samba:lib
59
SAMBA_CONFIGURE_WITH=		samba-includes=${SAMBAINCLUDES} samba-libs=${SAMBALIBS}
60
MDNS_DESC=			Enable Bonjour/Rendezvous support
61
MDNS_CONFIGURE_ENABLE=		avahi
62
MDNS_LIB_DEPENDS=		libavahi-client.so:net/avahi-app
63
HAL_CONFIGURE_ENABLE=		hal
64
HAL_LIB_DEPENDS=		libhal.so:sysutils/hal
65
FAM_USES=			fam
66
FAM_CONFIGURE_ENABLE=		fam
67
GSSAPI_BASE_USES=		gssapi
68
GSSAPI_MIT_USES=		gssapi:mit
69
GSSAPI_HEIMDAL_USES=		gssapi:heimdal
55
70
56
.include <bsd.port.options.mk>
71
.include <bsd.port.options.mk>
57
72
58
.if exists(${LOCALBASE}/lib/libfam.so) || !defined(WITHOUT_FAM)
59
USES+=		fam
60
.endif
61
62
.if exists(${LOCALBASE}/lib/libkrb5.so)
63
LIB_DEPENDS+=	libkrb5.so:security/heimdal
64
.endif
65
66
.if ${PORT_OPTIONS:MHAL}
67
CONFIGURE_ARGS+=--enable-hal
68
LIB_DEPENDS+=	libhal.so:sysutils/hal
69
.else
70
CONFIGURE_ARGS+=--disable-hal
71
.endif
72
73
.if ${PORT_OPTIONS:MSAMBA}
74
CONFIGURE_ARGS+=--with-samba-includes=${SAMBAINCLUDES} --with-samba-libs=${SAMBALIBS}
75
USES+=		samba:lib
76
PLIST_SUB+=	SAMBA=""
77
.else
78
PLIST_SUB+=	SAMBA="@comment "
79
CONFIGURE_ARGS+=--disable-samba
80
.endif
81
82
.if ${PORT_OPTIONS:MMDNS}
83
LIB_DEPENDS+=	libavahi-client.so:net/avahi-app
84
.else
85
CONFIGURE_ARGS+=--disable-avahi
86
.endif
87
88
post-patch:
73
post-patch:
89
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
74
	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
90
		${WRKSRC}/libgnomevfs/Makefile.in
75
		${WRKSRC}/libgnomevfs/Makefile.in

Return to bug 215381