diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-01-25 03:47:15 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-01-25 03:47:15 +0800 |
commit | a40bf62077bc6894a00c78c46bba6c3b9f142e3f (patch) | |
tree | e203d7017b1368e7d7bd4a53851d3291585ef53d /x11/gdm | |
parent | 5dd4501a81e87751a88812d5b7321e2d192d029f (diff) | |
download | freebsd-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/Makefile | 4 |
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} |