Date: Mon, 16 May 2011 23:58:07 GMT From: Warren Block <wblock@wonkity.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/157096: [patch] add option to build devel/gvfs without HAL support Message-ID: <201105162358.p4GNw7Tn088168@red.freebsd.org> Resent-Message-ID: <201105170000.p4H00Jd1076170@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 157096 >Category: ports >Synopsis: [patch] add option to build devel/gvfs without HAL support >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue May 17 00:00:18 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Warren Block >Release: 8-STABLE >Organization: >Environment: FreeBSD lightning 8.2-STABLE FreeBSD 8.2-STABLE #0: Sun May 15 21:02:21 MDT 2011 root@lightning:/usr/obj/usr/src/sys/LIGHTNING i386 >Description: devel/gvfs currently requires HAL. This patch adds a user option to build with or without HAL support. Lightly tested, the port may need pkg-plist updates or other changes also. >How-To-Repeat: Try to pkg_delete hal while devel/gvfs is installed. >Fix: Apply patch. Patch attached with submission follows: --- devel/gvfs/Makefile.orig 2011-05-16 13:11:28.000000000 -0600 +++ devel/gvfs/Makefile 2011-05-16 13:22:44.000000000 -0600 @@ -17,10 +17,8 @@ COMMENT= GNOME virtual file system LIB_DEPENDS= dbus-1.3:${PORTSDIR}/devel/dbus \ - hal.1:${PORTSDIR}/sysutils/hal \ soup-gnome-2.4.1:${PORTSDIR}/devel/libsoup-gnome \ gnome-keyring:${PORTSDIR}/security/libgnome-keyring -RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount USE_BZIP2= yes USE_GNOME= glib20 gnomehack gnomeprefix intlhack gconf2 @@ -35,7 +33,8 @@ AVAHI "Enable AVAHI" on \ SAMBA "Enable Samba" on \ GPHOTO2 "Enable Gphoto 2 camera support" on \ - CDDA "Enable CDDA" on + CDDA "Enable CDDA" on \ + HAL "Enable HAL" on .include <bsd.port.pre.mk> @@ -80,4 +79,10 @@ PLIST_SUB+= AVAHI="@comment " .endif +.if defined(WITH_HAL) +RUN_DEPENDS= gnome-mount:${PORTSDIR}/sysutils/gnome-mount +.else +CONFIGURE_ARGS+= --disable-hal +.endif + .include <bsd.port.post.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105162358.p4GNw7Tn088168>