aboutsummaryrefslogtreecommitdiffstats
path: root/x11/gdm
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-01-25 03:47:15 +0800
committersobomax <sobomax@FreeBSD.org>2002-01-25 03:47:15 +0800
commita40bf62077bc6894a00c78c46bba6c3b9f142e3f (patch)
treee203d7017b1368e7d7bd4a53851d3291585ef53d /x11/gdm
parent5dd4501a81e87751a88812d5b7321e2d192d029f (diff)
downloadfreebsd-ports-graphics-a40bf62077bc6894a00c78c46bba6c3b9f142e3f.tar.gz
freebsd-ports-graphics-a40bf62077bc6894a00c78c46bba6c3b9f142e3f.tar.zst
freebsd-ports-graphics-a40bf62077bc6894a00c78c46bba6c3b9f142e3f.zip
When building on bento use numeric UID/GID because bento knows nothing about
user gdm and group gdm, so that the build is likely to fail. No PORTREVISION bump because this just unbreaks the build on bento.
Diffstat (limited to 'x11/gdm')
-rw-r--r--x11/gdm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/x11/gdm/Makefile b/x11/gdm/Makefile
index 40075f1fe05..89e2accdc8f 100644
--- a/x11/gdm/Makefile
+++ b/x11/gdm/Makefile
@@ -41,7 +41,11 @@ post-install:
@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.endif
@${INSTALL_SCRIPT} ${WRKSRC}/config/gnomerc ${PREFIX}/etc/gdm
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
@${CHOWN} -R gdm:gdm ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
+.else
+ @${CHOWN} -R 91:91 ${PREFIX}/share/gnome/gdm ${PREFIX}/etc/gdm
+.endif
@${CHMOD} 0750 ${PREFIX}/share/gnome/gdm
@${CAT} ${PKGMESSAGE}