update Wed Feb 10 14:33:06 PST 2010
[pkgsrc.git] / lang / swi-prolog-lite / patches / patch-aq
1 $NetBSD: patch-aq,v 1.1 2010/02/10 21:56:41 asau Exp $
2
3 "test" portability.
4 Reported as applied upstream.
5
6 --- packages/space/configure.orig       2010-01-17 19:18:27.000000000 +0300
7 +++ packages/space/configure    2010-01-17 19:20:26.000000000 +0300
8 @@ -3797,7 +3797,7 @@
9  done
10  
11  #AC_TRY_LINK([#include <spatialindex/SpatialIndex.h>],[SpatialIndex::Point *p=new SpatialIndex::Point();],[si=1],[si=0])
12 -if test $si == 0; then
13 +if test $si = 0; then
14     { { $as_echo "$as_me:$LINENO: error: \"Cannot find spatialindex. Spatialindex must be installed first (http://trac.gispython.org/spatialindex/)\"" >&5
15  $as_echo "$as_me: error: \"Cannot find spatialindex. Spatialindex must be installed first (http://trac.gispython.org/spatialindex/)\"" >&2;}
16     { (exit 1); exit 1; }; }
17 @@ -3951,7 +3951,7 @@
18  
19  done
20  
21 -if test $si == 0; then
22 +if test $si = 0; then
23     { { $as_echo "$as_me:$LINENO: error: \"Cannot find GEOS library. GEOS must be installed first (http://trac.osgeo.org/geos/)\"" >&5
24  $as_echo "$as_me: error: \"Cannot find GEOS library. GEOS must be installed first (http://trac.osgeo.org/geos/)\"" >&2;}
25     { (exit 1); exit 1; }; }