summaryrefslogtreecommitdiff
path: root/games/gbrainy
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-09 18:08:03 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-09 18:08:03 +0000
commite991206177b3339ed83b83acea028bbe1ecaf847 (patch)
treef55c7e83d6e248cbd077d37cc9c07b7535222350 /games/gbrainy
parent517e24a338feb72af309c669020da48b3be03be0 (diff)
downloadpkgsrc-e991206177b3339ed83b83acea028bbe1ecaf847.tar.gz
Fix a shell script to work with classic Bourne shell instead of bash.
Diffstat (limited to 'games/gbrainy')
-rw-r--r--games/gbrainy/distinfo3
-rw-r--r--games/gbrainy/patches/patch-aa19
2 files changed, 21 insertions, 1 deletions
diff --git a/games/gbrainy/distinfo b/games/gbrainy/distinfo
index cabccd9bcad..282feaafad6 100644
--- a/games/gbrainy/distinfo
+++ b/games/gbrainy/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.9 2010/02/03 11:02:02 wiz Exp $
+$NetBSD: distinfo,v 1.10 2010/02/09 18:08:03 joerg Exp $
SHA1 (gbrainy-1.30.tar.gz) = 65e75763203b01254c90f3fb3cc3c89c0d77956f
RMD160 (gbrainy-1.30.tar.gz) = fe5a43fc6d5b5463f47a77df6931d35a1555d885
Size (gbrainy-1.30.tar.gz) = 1182204 bytes
+SHA1 (patch-aa) = 8c7b4ae5338fc8c52f38b19bf575a998f85e6b7d
diff --git a/games/gbrainy/patches/patch-aa b/games/gbrainy/patches/patch-aa
new file mode 100644
index 00000000000..35811cde6a9
--- /dev/null
+++ b/games/gbrainy/patches/patch-aa
@@ -0,0 +1,19 @@
+$NetBSD: patch-aa,v 1.1 2010/02/09 18:08:03 joerg Exp $
+
+--- src/Clients/Classical/gbrainy.in.orig 2010-02-09 17:59:25.000000000 +0000
++++ src/Clients/Classical/gbrainy.in
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/bin/sh
+
+ prefix=@prefix@
+ exec_prefix=@exec_prefix@
+@@ -7,7 +7,7 @@ libdir=@libdir@
+ MONO_EXE="$libdir/gbrainy/gbrainy.exe"
+
+ for arg in $*; do
+- case "x--debug" in ("x${arg}")
++ case "x--debug" in "x${arg}")
+ MONO_OPTIONS="--debug${MONO_OPTIONS+:$MONO_OPTIONS}"
+ esac
+ done