pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/gdm Enable ConsoleKit integration (can be disabled...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/864210799213
branches:  trunk
changeset: 550474:864210799213
user:      jmcneill <jmcneill%pkgsrc.org@localhost>
date:      Sat Nov 22 17:19:12 2008 +0000

description:
Enable ConsoleKit integration (can be disabled with consolekit PKG_OPTION)
Bump PKGREVISION

diffstat:

 x11/gdm/Makefile |  15 +++++++++++++--
 1 files changed, 13 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 644f49c1c873 -r 864210799213 x11/gdm/Makefile
--- a/x11/gdm/Makefile  Sat Nov 22 16:29:19 2008 +0000
+++ b/x11/gdm/Makefile  Sat Nov 22 17:19:12 2008 +0000
@@ -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 @@
 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+=       --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



Home | Main Index | Thread Index | Old Index