diff options
author | jmcneill <jmcneill@pkgsrc.org> | 2008-11-26 00:52:40 +0000 |
---|---|---|
committer | jmcneill <jmcneill@pkgsrc.org> | 2008-11-26 00:52:40 +0000 |
commit | e0bb779edfcc862862327772eeb7b0c471239695 (patch) | |
tree | 04152e2ebfc82eaf1e0dff6b786089a271836362 /x11/gdm | |
parent | 71921fc2bc64c48350e6f5e73642c647091e1d15 (diff) | |
download | pkgsrc-e0bb779edfcc862862327772eeb7b0c471239695.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/Makefile | 10 |
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 |