diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-11-07 04:57:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-11-07 04:57:10 +0800 |
commit | 0d691b2a9420c77bb953cb0793bc252207417682 (patch) | |
tree | 34749cb721d5993cdb022edc7654ce562506e899 /x11/gdm/Makefile | |
parent | 1c9c262514aad51f2090eebe930c4c3a2187a3cc (diff) | |
download | marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.tar marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.tar.gz marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.tar.bz2 marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.tar.lz marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.tar.xz marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.tar.zst marcuscom-ports-0d691b2a9420c77bb953cb0793bc252207417682.zip |
Fix GDM.
* Change gdm's home directory from /nonexistent to /var/gdm
* Include a default GNOME session file
* Fix an undefined symbol problem
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9912 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gdm/Makefile')
-rw-r--r-- | x11/gdm/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile index e120b69cf..eeb36aa62 100644 --- a/x11/gdm/Makefile +++ b/x11/gdm/Makefile @@ -3,7 +3,7 @@ # Whom: Joe Marcus Clarke <marcus@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/x11/gdm/Makefile,v 1.80 2007/10/22 04:42:08 marcus Exp $ +# $MCom: ports/x11/gdm/Makefile,v 1.82 2007/11/03 00:59:39 marcus Exp $ # PORTNAME= gdm @@ -79,6 +79,8 @@ post-patch: .endif @${REINPLACE_CMD} -e 's|root:root|root:wheel|g' \ ${WRKSRC}/config/Makefile.in + @${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${FILESDIR}/gnome.desktop > ${WRKDIR}/gnome.desktop post-install: .if !defined(PACKAGE_BUILDING) @@ -86,6 +88,9 @@ post-install: .endif ${INSTALL_DATA} ${WRKSRC}/config/gdm.conf-custom \ ${PREFIX}/etc/gdm/custom.conf.default + ${MKDIR} ${PREFIX}/share/xsessions + ${INSTALL_DATA} ${WRKDIR}/gnome.desktop \ + ${PREFIX}/share/xsessions/gnome.desktop @${MKDIR} ${PREFIX}/etc/gdm/Sessions @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} |