summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorroy <roy@pkgsrc.org>2011-04-20 07:17:46 +0000
committerroy <roy@pkgsrc.org>2011-04-20 07:17:46 +0000
commit67e1d86fcc8a733f1e13a4992c1c803b78bc5be1 (patch)
tree9ec4dc88575212eb7d622df240da4032f92e27f4 /games
parent75a0195bbef71964b4dbb796a4ec4994a43fe7d6 (diff)
downloadpkgsrc-67e1d86fcc8a733f1e13a4992c1c803b78bc5be1.tar.gz
Use correct shell.
swell-foop still doens't work as it depends on seed which isn't in pkgsrc yet, but gnome-games installs again.
Diffstat (limited to 'games')
-rw-r--r--games/gnome-games/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/gnome-games/Makefile b/games/gnome-games/Makefile
index 0536a2bafeb..079b3220a1a 100644
--- a/games/gnome-games/Makefile
+++ b/games/gnome-games/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.114 2011/01/13 13:37:44 wiz Exp $
+# $NetBSD: Makefile,v 1.115 2011/04/20 07:17:46 roy Exp $
DISTNAME= gnome-games-2.32.1
PKGREVISION= 1
@@ -50,6 +50,12 @@ PYTHON_PATCH_SCRIPTS+= glchess/src/glchess.in.in
PYTHON_PATCH_SCRIPTS+= gnome-sudoku/src/gnome-sudoku.in.in
PY_PATCHPLIST= yes
+#!/usr/bin/env sh is pretty dumb and REPLACE_SH doesn't support fixing it
+SUBST_CLASSES+= swell
+SUBST_STAGE.swell= post-patch
+SUBST_FILES.swell= swell-foop/swell-foop.in
+SUBST_SED.swell= 's:/usr/bin/env sh:${SH}:'
+
.include "../../audio/libcanberra/buildlink3.mk"
.include "../../devel/GConf/schemas.mk"
.include "../../devel/GConf-ui/buildlink3.mk"