diff options
author | Oliver Lehmann <oliver@FreeBSD.org> | 2011-06-07 06:37:58 +0000 |
---|---|---|
committer | Oliver Lehmann <oliver@FreeBSD.org> | 2011-06-07 06:37:58 +0000 |
commit | 1e8467d50b43a3ba79e9a327eace5c3fdc6efcde (patch) | |
tree | b484917ce48cc1757fb33bb763292d42df5e0442 /x11-wm/xfce4-session | |
parent | 29580724f3458ad52b67be463a8ff1cffd20bf9d (diff) | |
download | ports-1e8467d50b43a3ba79e9a327eace5c3fdc6efcde.tar.gz ports-1e8467d50b43a3ba79e9a327eace5c3fdc6efcde.zip |
make HAL support optional
PR: ports/157097
Submitted by: Warren Block <wblock@wonkity.com>
Notes
Notes:
svn path=/head/; revision=275174
Diffstat (limited to 'x11-wm/xfce4-session')
-rw-r--r-- | x11-wm/xfce4-session/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/x11-wm/xfce4-session/Makefile b/x11-wm/xfce4-session/Makefile index d97276f447b2..141555e90147 100644 --- a/x11-wm/xfce4-session/Makefile +++ b/x11-wm/xfce4-session/Makefile @@ -20,7 +20,6 @@ RUN_DEPENDS= iceauth:${PORTSDIR}/x11/iceauth \ 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 @@ CONFIGURE_ARGS+= --enable-panel-plugin \ --disable-gnome \ --disable-libgnome-keyring -OPTIONS= NLS "Enable Native Language Support" on +OPTIONS= NLS "Enable Native Language Support" on \ + HAL "Enable HAL Support" off + +.include <bsd.port.options.mk> MAN1= xfce4-session.1 xfce4-session-logout.1 @@ -54,6 +56,11 @@ PLIST_SUB+= NLS="" CONFIGURE_ARGS+= --disable-nls 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} |