summaryrefslogtreecommitdiffstats
path: root/x11/gdm/Makefile
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-12-27 06:23:13 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2008-12-27 06:23:13 +0800
commitaff12e9f850e0c2b0caff46284c44ad60f9f47a3 (patch)
tree4506f7397335ba7df884dae805df1208ddcb539d /x11/gdm/Makefile
parent7e368f8830102268ec13b275e53b048446aa4d2e (diff)
downloadmarcuscom-ports-aff12e9f850e0c2b0caff46284c44ad60f9f47a3.tar.gz
marcuscom-ports-aff12e9f850e0c2b0caff46284c44ad60f9f47a3.tar.zst
marcuscom-ports-aff12e9f850e0c2b0caff46284c44ad60f9f47a3.zip
Teach gdm where to find its home directory. This should fix some issues
with missing GConf settings. Reported by: Pawel Worach <pawel.worach@gmail.com> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@11837 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r--x11/gdm/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 3a7d4272a..b3f2a5610 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.138 2008/11/19 19:30:42 marcus Exp $
+# $MCom: ports/x11/gdm/Makefile,v 1.139 2008/11/24 04:06:42 marcus Exp $
#
PORTNAME= gdm
PORTVERSION= 2.24.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11 gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
@@ -34,6 +34,7 @@ USE_GNOME= gnomehack intlhack gnomehier libgnomeui librsvg2 gnomedocutils \
gnomeprefix gnomepanel
GCONF_SCHEMAS= gdm-simple-greeter.schemas
GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-working-dir=${PREFIX}/share/gdm/home
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
GTKDOC="false"
@@ -73,11 +74,16 @@ post-patch:
@${REINPLACE_CMD} -e 's|root:root|root:wheel|g' \
${WRKSRC}/data/Makefile.in
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
- ${WRKSRC}/daemon/gdm-session-worker.c
+ ${WRKSRC}/daemon/gdm-session-worker.c \
+ ${WRKSRC}/data/gconf.path
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
${WRKSRC}/configure ${WRKSRC}/daemon/*.c ${WRKSRC}/po/*.po
post-install:
+ ${INSTALL_DATA} ${WRKSRC}/data/gconf.path \
+ ${PREFIX}/share/gdm/gconf.path
+ ${INSTALL_DATA} ${WRKSRC}/data/session-setup.entries \
+ ${PREFIX}/share/gdm/session-setup.entries
.if !defined(PACKAGE_BUILDING)
@${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif