summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-15 04:09:03 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2008-03-15 04:09:03 +0800
commitbba0c829dd6b66fec60c83c57a5b10b1132dba4b (patch)
tree974451b884f586694ca1b3b5e1ade9ceecb7739b /x11
parent81d8633e6f10588cb267545fa8234dc6d3eca6ba (diff)
downloadmarcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.tar
marcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.tar.gz
marcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.tar.bz2
marcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.tar.lz
marcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.tar.xz
marcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.tar.zst
marcuscom-ports-bba0c829dd6b66fec60c83c57a5b10b1132dba4b.zip
Enable consolekit by default and remove option. It is required for mount and
probably other stuff in GNOME 2.22 desktop. Bump the PORTREVISION. Discussed with: marcus git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@10741 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11')
-rw-r--r--x11/gdm/Makefile18
1 files changed, 6 insertions, 12 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index fa995ee86..bbe97e81b 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gdm/Makefile,v 1.113 2008/03/11 03:00:26 mezz Exp $
+# $MCom$
#
PORTNAME= gdm
PORTVERSION= 2.20.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -17,7 +17,8 @@ MAINTAINER= gnome@FreeBSD.org
COMMENT= GNOME 2 version of xdm display manager
BUILD_DEPENDS= zenity:${PORTSDIR}/x11/zenity
-LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
+LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt \
+ ck-connector.0:${PORTSDIR}/sysutils/consolekit
RUN_DEPENDS= zenity:${PORTSDIR}/x11/zenity
USE_BZIP2= yes
@@ -35,6 +36,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
GTKDOC="false"
+CONFIGURE_ARGS=--with-console-kit=yes
GDMDIR?= ${PREFIX}/etc/gdm
PKGMESSAGE= ${WRKDIR}/pkg-message
@@ -44,8 +46,7 @@ GNOME_LOCALSTATEDIR= /var
MAN1= gdm.1
OPTIONS= IPV6 "Enable IPv6 support" on \
- LOG_LIMIT "Limit ~/.xsession-errors size" on \
- CONSOLEKIT "Enable ConsoleKit support" off
+ LOG_LIMIT "Limit ~/.xsession-errors size" on
.include <bsd.port.pre.mk>
@@ -65,13 +66,6 @@ CONFIGURE_ARGS+= --disable-ipv6
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-daemon_slave.c
.endif
-.if defined(WITH_CONSOLEKIT)
-CONFIGURE_ARGS+=--with-console-kit=yes
-LIB_DEPENDS+= ck-connector.0:${PORTSDIR}/sysutils/consolekit
-.else
-CONFIGURE_ARGS+=--with-console-kit=no
-.endif
-
post-patch:
.if ( ${OSVERSION} > 600000 && ${OSVERSION} < 600006 ) || \
( ${OSVERSION} < 503101 )