diff options
author | jmcneill <jmcneill> | 2008-11-26 00:52:40 +0000 |
---|---|---|
committer | jmcneill <jmcneill> | 2008-11-26 00:52:40 +0000 |
commit | f31b5909cec6b1dd295c57cc20ebd5f1ca0ab3d2 (patch) | |
tree | 04152e2ebfc82eaf1e0dff6b786089a271836362 | |
parent | dd1a8d159e275b0105630d135e08cab0e0004d91 (diff) | |
download | pkgsrc-f31b5909cec6b1dd295c57cc20ebd5f1ca0ab3d2.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.
-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 |