SOURCES: gdal-ogdi.patch (NEW) - fix ogdi name

qboosh qboosh at pld-linux.org
Tue Jun 10 22:01:05 CEST 2008


Author: qboosh                       Date: Tue Jun 10 20:01:05 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix ogdi name

---- Files affected:
SOURCES:
   gdal-ogdi.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/gdal-ogdi.patch
diff -u /dev/null SOURCES/gdal-ogdi.patch:1.1
--- /dev/null	Tue Jun 10 22:01:06 2008
+++ SOURCES/gdal-ogdi.patch	Tue Jun 10 22:00:59 2008
@@ -0,0 +1,26 @@
+--- gdal-1.5.1/configure.in.orig	2008-06-05 21:13:18.624424000 +0200
++++ gdal-1.5.1/configure.in	2008-06-05 22:51:48.869222202 +0200
+@@ -869,19 +869,19 @@
+ 
+ elif test "$with_ogdi" = "yes" -o "$with_ogdi" = "" ; then
+ 
+-  AC_CHECK_LIB(ogdi31,cln_GetLayerCapabilities,HAVE_OGDI=yes,HAVE_OGDI=no,)
++  AC_CHECK_LIB(ogdi,cln_GetLayerCapabilities,HAVE_OGDI=yes,HAVE_OGDI=no,)
+ 
+   if test "$HAVE_OGDI" = "yes" ; then   
+-    LIBS="-logdi31 $LIBS"
++    LIBS="-logdi $LIBS"
+   fi
+ 
+ else
+ 
+   HAVE_OGDI=yes
+-  LIBS="-L$with_ogdi -L$with_ogdi/lib -logdi31 $LIBS"
++  LIBS="-L$with_ogdi -L$with_ogdi/lib -logdi $LIBS"
+   OGDI_INCLUDE="-I$with_ogdi -I$with_ogdi/include"
+ 
+-  echo "using libogdi31 from $with_ogdi."
++  echo "using libogdi from $with_ogdi."
+ 
+ fi
+ 
================================================================


More information about the pld-cvs-commit mailing list