summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorjmcneill <jmcneill>2008-11-26 00:52:40 +0000
committerjmcneill <jmcneill>2008-11-26 00:52:40 +0000
commit4f14808b97a8cc06844404cea9b0f81deb7dd5df (patch)
tree04152e2ebfc82eaf1e0dff6b786089a271836362 /x11/gdm
parentf8fd0904bec7782791934c2d0bc03ea76506812c (diff)
downloadpkgsrc-4f14808b97a8cc06844404cea9b0f81deb7dd5df.tar.gz
gdmsetup's theme installer hardcodes root:root when setting theme
directory permissions, patch at post-patch time to use ROOT_USER and ROOT_GROUP. Bump PKGREVISION.
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index c939174e47b..0319d193852 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.148 2008/11/23 22:06:49 jmcneill Exp $
+# $NetBSD: Makefile,v 1.149 2008/11/26 00:52:40 jmcneill Exp $
#
DISTNAME= gdm-2.20.7
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= x11 gnome
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gdm/2.20/}
EXTRACT_SUFX= .tar.bz2
@@ -82,6 +82,12 @@ SUBST_SED.desktop+= -e 's|^\#RebootCommand=.*$$|RebootCommand=/sbin/shutdown -r
SUBST_SED.desktop+= -e 's|^\#HaltCommand=.*$$|HaltCommand=/sbin/shutdown -p now|g'
.endif
+SUBST_CLASSES+= gdmsetup
+SUBST_MESSAGE.gdmsetup= Patching gdmsetup theme installer to use ${ROOT_USER}:${ROOT_GROUP}
+SUBST_STAGE.gdmsetup= post-patch
+SUBST_FILES.gdmsetup= gui/gdmsetup.c
+SUBST_SED.gdmsetup= -e 's/root:root/${ROOT_USER}:${ROOT_GROUP}/g'
+
.if ${OPSYS} == "SunOS"
CFLAGS+= -DSunOS
GDMOWN= daemon