summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/gdm/Makefile6
-rw-r--r--x11/gdm/PLIST4
2 files changed, 7 insertions, 3 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 0319d193852..2852fcfa103 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.149 2008/11/26 00:52:40 jmcneill Exp $
+# $NetBSD: Makefile,v 1.150 2009/03/02 15:13:10 jmcneill Exp $
#
DISTNAME= gdm-2.20.7
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.20/}
EXTRACT_SUFX= .tar.bz2
@@ -28,6 +28,7 @@ CONFIGURE_ARGS+= --localstatedir=${VARBASE:Q}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
CONFIGURE_ARGS+= --with-dmconfdir=${PKG_SYSCONFDIR:Q}/dm
CONFIGURE_ARGS+= --with-sysconfsubdir=
+CONFIGURE_ARGS+= --with-prefetch=yes
CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
CONFIGURE_ENV+= X11BASE=${X11BASE:Q}
INSTALL_MAKE_FLAGS+= ${MAKE_FLAGS}
@@ -81,6 +82,7 @@ SUBST_SED.desktop+= -e 's|^\#Logo=.*$$|Logo=${PREFIX}/share/pixmaps/NetBSD.xpm|g
SUBST_SED.desktop+= -e 's|^\#RebootCommand=.*$$|RebootCommand=/sbin/shutdown -r now|g'
SUBST_SED.desktop+= -e 's|^\#HaltCommand=.*$$|HaltCommand=/sbin/shutdown -p now|g'
.endif
+SUBST_SED.desktop+= -e 's|^PreFetchProgram=.*$$|PreFetchProgram=${PREFIX}/libexec/gdmprefetch @${PKG_SYSCONFDIR}/gdmprefetchlist|g'
SUBST_CLASSES+= gdmsetup
SUBST_MESSAGE.gdmsetup= Patching gdmsetup theme installer to use ${ROOT_USER}:${ROOT_GROUP}
diff --git a/x11/gdm/PLIST b/x11/gdm/PLIST
index 585ebcc6d29..8dac2251a3e 100644
--- a/x11/gdm/PLIST
+++ b/x11/gdm/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.38 2008/07/16 20:13:29 drochner Exp $
+@comment $NetBSD: PLIST,v 1.39 2009/03/02 15:13:10 jmcneill Exp $
${PLIST.dmx}bin/gdm-dmx-reconnect-proxy
bin/gdmXnest
bin/gdmXnestchooser
@@ -13,6 +13,7 @@ libexec/gdmchooser
libexec/gdmgreeter
libexec/gdmlogin
${PLIST.gdmopen}libexec/gdmopen
+libexec/gdmprefetch
libexec/gdmtranslate
man/man1/gdm.1
sbin/gdm
@@ -28,6 +29,7 @@ share/examples/gdm/PreSession/Default
share/examples/gdm/XKeepsCrashing
share/examples/gdm/Xsession
share/examples/gdm/custom.conf
+share/examples/gdm/gdmprefetchlist
share/examples/gdm/locale.alias
share/examples/gdm/modules/AccessDwellMouseEvents
share/examples/gdm/modules/AccessKeyMouseEvents