From owner-freebsd-ports-bugs@FreeBSD.ORG Tue May 17 00:10:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3D1F1065670 for ; Tue, 17 May 2011 00:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CE0F98FC0C for ; Tue, 17 May 2011 00:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p4H0A8E8087514 for ; Tue, 17 May 2011 00:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p4H0A8nq087513; Tue, 17 May 2011 00:10:08 GMT (envelope-from gnats) Resent-Date: Tue, 17 May 2011 00:10:08 GMT Resent-Message-Id: <201105170010.p4H0A8nq087513@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Warren Block Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EFAD4106564A for ; Tue, 17 May 2011 00:05:17 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E035B8FC0A for ; Tue, 17 May 2011 00:05:17 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p4H05HWf096958 for ; Tue, 17 May 2011 00:05:17 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id p4H05HS4096957; Tue, 17 May 2011 00:05:17 GMT (envelope-from nobody) Message-Id: <201105170005.p4H05HS4096957@red.freebsd.org> Date: Tue, 17 May 2011 00:05:17 GMT From: Warren Block To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/157097: [patch] x11-wm/xfce4-session: make HAL support optional X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2011 00:10:09 -0000 >Number: 157097 >Category: ports >Synopsis: [patch] x11-wm/xfce4-session: make HAL support optional >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:10:08 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: Add user option to build x11-wm/xfce4-session without HAL support. Lightly tested, may require other updates to the port, like pkg-plist. >How-To-Repeat: Try to build xfce4-session without HAL. >Fix: Apply patch. Patch attached with submission follows: --- x11-wm/xfce4-session/Makefile.orig 2011-05-16 17:14:33.000000000 -0600 +++ x11-wm/xfce4-session/Makefile 2011-05-16 17:39:31.000000000 -0600 @@ -20,7 +20,6 @@ console-kit-daemon:${PORTSDIR}/sysutils/consolekit LIB_DEPENDS= wnck-1.22:${PORTSDIR}/x11-toolkits/libwnck \ dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib \ - hal.1:${PORTSDIR}/sysutils/hal \ upower-glib.1:${PORTSDIR}/sysutils/upower \ polkit.2:${PORTSDIR}/sysutils/policykit @@ -40,7 +39,10 @@ --disable-gnome \ --disable-libgnome-keyring -OPTIONS= NLS "Enable Native Language Support" on +OPTIONS= NLS "Enable Native Language Support" on \ + HAL "Enable HAL Support" on + +.include MAN1= xfce4-session.1 xfce4-session-logout.1 @@ -55,6 +57,12 @@ PLIST_SUB+= NLS="@comment " .endif +.if !defined(WITHOUT_HAL) +LIB_DEPENDS+= hal.1:${PORTSDIR}/sysutils/hal +.else +CONFIGURE_ARGS+= --disable-hal +.endif + post-install: @${SED} 's|%%LOCALBASE%%|${LOCALBASE}|g' ${PKGMESSAGE} >Release-Note: >Audit-Trail: >Unformatted: