aboutsummaryrefslogtreecommitdiffstats
path: root/x11
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
parent5dd4501a81e87751a88812d5b7321e2d192d029f (diff)
downloadfreebsd-ports-gnome-a40bf62077bc6894a00c78c46bba6c3b9f142e3f.tar.gz
freebsd-ports-gnome-a40bf62077bc6894a00c78c46bba6c3b9f142e3f.tar.zst
freebsd-ports-gnome-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')
-rw-r--r--x11/gdm/Makefile4
-rw-r--r--x11/gdm2/Makefile4
2 files changed, 8 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}
diff --git a/x11/gdm2/Makefile b/x11/gdm2/Makefile
index 40075f1fe05f..89e2accdc8f3 100644
--- a/x11/gdm2/Makefile
+++ b/x11/gdm2/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}