openbsd-ports/x11/gnome/tomboy/patches/patch-Tomboy_tomboy_in
ajacoutot 61b43cc23a Update to tomboy-0.14.3.
Explicitely disable galago and evolution support. Fix DEPENDS.
Tweak DLLMAP_FILES.
2009-09-06 07:29:37 +00:00

34 lines
927 B
Plaintext

$OpenBSD: patch-Tomboy_tomboy_in,v 1.4 2009/09/06 07:29:37 ajacoutot Exp $
Remove bashism.
--- Tomboy/tomboy.in.orig Thu May 7 02:33:07 2009
+++ Tomboy/tomboy.in Tue Sep 1 22:17:08 2009
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-export MONO_DISABLE_SHM=1
+#!/bin/sh
if [ "x$PWD" = "x@srcdir@" ] ; then
echo "*** Running uninstalled @target@ ***"
@@ -22,15 +22,15 @@ else
[ -n "$TOMBOY_PROFILE" ] && TOMBOY_PROFILE="--profile=$TOMBOY_PROFILE"
for arg in $*; do
- case "x--debug" in ("x$arg")
+ case "x--debug" in ("x`echo $arg`")
TOMBOY_DEBUG=$arg
esac
- case "x--trace=" in ("x${arg:0:8}")
+ case "x--trace=" in ("x`echo $arg | cut -c1-8`")
TOMBOY_TRACE=$arg
esac
- case "x--profile=" in ("x${arg:0:10}")
+ case "x--profile=" in ("x`echo $arg | cut -c1-10`")
TOMBOY_PROFILE=$arg
esac
done