From 735afe8f765e478847bfe1be5855522e00871859 Mon Sep 17 00:00:00 2001 From: jef Date: Mon, 5 Apr 2010 17:17:05 +0000 Subject: [PATCH] debian packaging update git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13251 c8812cc2-4d05-0410-92ff-de0c093fc19c --- debian/rules | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/rules b/debian/rules index 757740d954e3..40c967e02473 100755 --- a/debian/rules +++ b/debian/rules @@ -28,8 +28,13 @@ CMAKE_OPTS := \ -D CMAKE_SKIP_RPATH=TRUE \ -D BINDINGS_GLOBAL_INSTALL=TRUE \ -D PEDANTIC=TRUE \ - -D WITH_SPATIALITE=TRUE \ - -D WITH_INTERNAL_SPATIALITE=TRUE + -D WITH_SPATIALITE=TRUE + +ifeq (,$(findstring $(DISTRIBUTION),"sid")) + CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=TRUE +else + CMAKE_OPTS += -D WITH_INTERNAL_SPATIALITE=FALSE +endif ifneq (,$(findstring $(DISTRIBUTION),"hardy intrepid")) LDFLAGS += -Wl,--as-needed -Wl,--no-undefined