summaryrefslogtreecommitdiff
path: root/x11/gdm
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-01-24 19:47:15 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-01-24 19:47:15 +0000
commit18e79de284ecaf87ffcf8628e62911252b38b440 (patch)
tree9aeba3eebff0643fbf0b336dc83ca57ffc94e26d /x11/gdm
parentDon't explicitly link libc in. This is more a style change than the functional (diff)
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.
Notes
Notes: svn path=/head/; revision=53693
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 40075f1fe05f..89e2accdc8f3 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}