diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2008-11-22 17:19:12 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2008-11-22 17:19:12 +0000 |
commit | 771a3c97419a5057cd342a8d042f6fac157090a1 (patch) | |
tree | 7138b37d53085ac604997381df9ca7e7ebce7de7 /x11/gdm | |
parent | 8e0a9f6ffe6f90c250d1d2da08fc53eb8eec9c68 (diff) | |
download | pkgsrc-771a3c97419a5057cd342a8d042f6fac157090a1.tar.gz |
Enable ConsoleKit integration (can be disabled with consolekit PKG_OPTION)
Bump PKGREVISION
Diffstat (limited to 'x11/gdm')
-rw-r--r-- | x11/gdm/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index 13446a75387..bad6f80b6aa 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.144 2008/11/18 19:21:04 rillig Exp $ +# $NetBSD: Makefile,v 1.145 2008/11/22 17:19:12 jmcneill Exp $ # DISTNAME= gdm-2.20.7 +PKGREVISION= 1 CATEGORIES= x11 gnome MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.20/} EXTRACT_SUFX= .tar.bz2 @@ -24,7 +25,8 @@ USE_TOOLS+= gmake intltool msgfmt pkg-config BUILD_DEFS+= VARBASE PKG_OPTIONS_VAR= PKG_OPTIONS.gdm -PKG_SUPPORTED_OPTIONS= inet6 pam +PKG_SUPPORTED_OPTIONS= inet6 pam consolekit +PKG_SUGGESTED_OPTIONS= consolekit .include "../../mk/bsd.options.mk" CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q} @@ -97,6 +99,15 @@ CONFIGURE_ARGS+= --enable-ipv6 CONFIGURE_ARGS+= --disable-ipv6 .endif +.if !empty(PKG_OPTIONS:Mconsolekit) +CONFIGURE_ARGS+= --with-console-kit=yes +.include "../../sysutils/consolekit/buildlink3.mk" +.include "../../sysutils/dbus/buildlink3.mk" +.include "../../sysutils/dbus-glib/buildlink3.mk" +.else +CONFIGURE_ARGS+= --with-console-kit=no +.endif + # The following forces the X server to start on the 5th virtual terminal. # This is suboptimal but matches the defaults for the xdm configuration, # which should work for most installations. See the definition of |