From 67e1d86fcc8a733f1e13a4992c1c803b78bc5be1 Mon Sep 17 00:00:00 2001 From: roy Date: Wed, 20 Apr 2011 07:17:46 +0000 Subject: 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. --- games/gnome-games/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'games') 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" -- cgit v1.2.3