From 18e79de284ecaf87ffcf8628e62911252b38b440 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 24 Jan 2002 19:47:15 +0000 Subject: 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. --- x11/gdm/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'x11/gdm') 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} -- cgit v1.2.3