[DebianGIS-dev] CVS Update: gdal/debian/patches 02_libname.patch
frankie at haydn.debian.org
frankie at haydn.debian.org
Fri Jan 20 22:26:43 UTC 2006
User: frankie
Date: 06/01/20 22:26:43
Added: debian/patches 02_libname.patch
Log:
Updated to add version to the libname, gdal -> gdal1.3.1
Revision Changes Path
1.1 gdal/debian/patches/02_libname.patch
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/gdal/debian/patches/02_libname.patch?annotate=1.1&cvsroot=
CVSWeb: View this file: http://cvs.alioth.debian.org/cgi-bin/cvsweb.cgi/pkg-grass/gdal/debian/patches/02_libname.patch?rev=1.1&content-type=text/x-cvsweb-markup&cvsroot=
-----------------------------------
Index: 02_libname.patch
===================================================================
--- GDALmake.opt.in.old 2005-09-30 06:52:58.000000000 +0200
+++ GDALmake.opt.in 2006-01-20 16:25:46.000000000 +0100
@@ -103,7 +103,7 @@
-I$(GDAL_ROOT)/ogr -I$(GDAL_ROOT)/ogr/ogrsf_frmts
# libtool targets and help variables
-LIBGDAL := $(GDAL_ROOT)/libgdal.la
+LIBGDAL := $(GDAL_ROOT)/libgdal1.3.1.la
LIBGDAL_CURRENT := 10
LIBGDAL_REVISION := 0
LIBGDAL_AGE := 9
@@ -111,9 +111,9 @@
# native build targets and variables
GDAL_VER = @GDAL_VER@
-GDAL_LIB = $(GDAL_ROOT)/libgdal.a
-GDAL_SLIB = $(GDAL_ROOT)/libgdal.$(SO_EXT)
-GDAL_SLIB_LINK = -L$(GDAL_ROOT) -lgdal
+GDAL_LIB = $(GDAL_ROOT)/libgdal1.3.1.a
+GDAL_SLIB = $(GDAL_ROOT)/libgdal1.3.1.$(SO_EXT)
+GDAL_SLIB_LINK = -L$(GDAL_ROOT) -lgdal1.3.1
#
# OGR/PostgreSQL support.
@@ -258,14 +258,14 @@
ifeq ($(HAVE_LIBTOOL), yes)
CONFIG_LIBS = $(LIBGDAL)
-CONFIG_LIBS_INS = -L$(INST_LIB) -lgdal
+CONFIG_LIBS_INS = -L$(INST_LIB) -lgdal1.3.1
EXE_DEP_LIBS = $(LIBGDAL)
SO_EXT = la
else
ifeq ($(HAVE_LD_SHARED),yes)
CONFIG_LIBS = $(GDAL_SLIB_LINK) $(LIBS)
-CONFIG_LIBS_INS = -L$(INST_LIB) -lgdal
+CONFIG_LIBS_INS = -L$(INST_LIB) -lgdal1.3.1
EXE_DEP_LIBS = $(GDAL_SLIB)
else
CONFIG_LIBS = $(GDAL_LIBS) $(LIBS)
More information about the Pkg-grass-devel
mailing list