summaryrefslogtreecommitdiff
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-11-22 17:19:12 +0000
committerjmcneill <jmcneill>2008-11-22 17:19:12 +0000
commit48e81f75d0eeb485fd4fff7989f42dbcedbf9694 (patch)
tree7138b37d53085ac604997381df9ca7e7ebce7de7 /x11/gdm/Makefile
parentcf19e164e9bcda0738d10673fb551bfdcfa8c352 (diff)
downloadpkgsrc-48e81f75d0eeb485fd4fff7989f42dbcedbf9694.tar.gz
Enable ConsoleKit integration (can be disabled with consolekit PKG_OPTION)
Bump PKGREVISION
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile15
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