summaryrefslogtreecommitdiffstats
path: root/games/gnome-games
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-12-15 12:19:03 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-12-15 12:19:03 +0800
commitf8387d627054a81d88a1b6072af8c20b1a38e155 (patch)
tree16d81d2f3dffdb9350c232bcc429550469b19988 /games/gnome-games
parent4c69b88b1a1dc9dc920659ed69d852e649cea136 (diff)
downloadmarcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.tar
marcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.tar.gz
marcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.tar.bz2
marcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.tar.lz
marcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.tar.xz
marcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.tar.zst
marcuscom-ports-f8387d627054a81d88a1b6072af8c20b1a38e155.zip
Remove the setgid bit from all games, and install scroes files as world
writeable. This will allow games to work again. This should be a temporary solution as Callum is working on making this a bit better. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5300 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnome-games')
-rw-r--r--games/gnome-games/Makefile5
-rw-r--r--games/gnome-games/pkg-install2
2 files changed, 5 insertions, 2 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index fa81e4739..bf9de4519 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/games/gnomegames2/Makefile,v 1.91 2005/11/13 21:19:20 marcus Exp $
+# $MCom: ports/games/gnomegames2/Makefile,v 1.92 2005/12/13 07:11:23 marcus Exp $
#
PORTNAME= gnomegames2
@@ -51,6 +51,9 @@ post-patch:
's|malloc\.h|stdlib.h|g'
@${REINPLACE_CMD} -e 's|bin/python|bin/env python|g' \
${WRKSRC}/libgames-support/games-server.py
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|664|666|g ; \
+ s|2555|0555|g'
post-install:
@-update-desktop-database
diff --git a/games/gnome-games/pkg-install b/games/gnome-games/pkg-install
index 8a9a93e19..1893dd428 100644
--- a/games/gnome-games/pkg-install
+++ b/games/gnome-games/pkg-install
@@ -10,7 +10,7 @@ POST-INSTALL)
if [ ! -f ${PKG_PREFIX}/share/gnome/games/${i} ]; then
touch -f ${PKG_PREFIX}/share/gnome/games/${i}
chown games:games ${PKG_PREFIX}/share/gnome/games/${i}
- chmod 0664 ${PKG_PREFIX}/share/gnome/games/${i}
+ chmod 0666 ${PKG_PREFIX}/share/gnome/games/${i}
fi
done
;;