summaryrefslogtreecommitdiff
path: root/editors/tomboy/patches/patch-configure
blob: fc681cc373ee1bb99df7db0880abdca06775212c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-configure,v 1.2 2019/06/08 10:40:59 rillig Exp $

As determined elsewhere (pkg/48075) pdksh (and perhaps older ast-ksh and bash)
have problems with double-parens expressions that are not arithmetic 
expressions of a particular form.  Adding a space between the two parens 
seems to get over the problem.

--- configure.orig	2010-04-26 17:30:00.000000000 +0000
+++ configure
@@ -15518,7 +15518,7 @@ if test "${enable_gnome+set}" = set; the
 fi
 
 
-if ((test "x$ENABLE_GNOME" = "xyes") && (test "x$ENABLE_WIN" = "xyes")) || ((test "x$ENABLE_GNOME" = "xyes") && (test "x$ENABLE_OSX" = "xyes")) || ((test "x$ENABLE_OSX" = "xyes") && (test "x$ENABLE_WIN" = "xyes")) ; then
+if ( (test "x$ENABLE_GNOME" = "xyes") && (test "x$ENABLE_WIN" = "xyes")) || ( (test "x$ENABLE_GNOME" = "xyes") && (test "x$ENABLE_OSX" = "xyes")) || ( (test "x$ENABLE_OSX" = "xyes") && (test "x$ENABLE_WIN" = "xyes")) ; then
 	{ { $as_echo "$as_me:$LINENO: error: --enable-gnome, --enable-windows, and --enable-osx are mutually exclusive" >&5
 $as_echo "$as_me: error: --enable-gnome, --enable-windows, and --enable-osx are mutually exclusive" >&2;}
    { (exit 1); exit 1; }; }