diff options
author | oliver <oliver@FreeBSD.org> | 2011-06-07 14:37:58 +0800 |
---|---|---|
committer | oliver <oliver@FreeBSD.org> | 2011-06-07 14:37:58 +0800 |
commit | 44adebadf79d8f7ce74209e6e2458d3e3672005e (patch) | |
tree | e4edd5f68b384c7e6e5e16d8827d49fab73ec5d8 | |
parent | 7bab6676fb4583424cbe51403c996f09c0529400 (diff) | |
download | freebsd-ports-graphics-44adebadf79d8f7ce74209e6e2458d3e3672005e.tar.gz freebsd-ports-graphics-44adebadf79d8f7ce74209e6e2458d3e3672005e.tar.zst freebsd-ports-graphics-44adebadf79d8f7ce74209e6e2458d3e3672005e.zip |
make HAL support optional
PR: ports/157097
Submitted by: Warren Block <wblock@wonkity.com>
-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 d97276f447b..141555e9014 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} |