aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2015-07-11 21:37:53 +0800
committerrobak <robak@FreeBSD.org>2015-07-11 21:37:53 +0800
commit4c682055f3971d0377def9bca5b5131914565525 (patch)
treed78789d1403eadfed0b0e844354f1ad4f9a2f6a9 /databases
parente9dce52a8dfde5402cb84959cdc540a60dc2ad7c (diff)
downloadfreebsd-ports-gnome-4c682055f3971d0377def9bca5b5131914565525.tar.gz
freebsd-ports-gnome-4c682055f3971d0377def9bca5b5131914565525.tar.zst
freebsd-ports-gnome-4c682055f3971d0377def9bca5b5131914565525.zip
databases/spatialite: update 4.2.0 -> 4.3.0
- Add new options for postgis PR: 201310 Submitted by: Bartoletti <coder@tuxfamily.org> (maintainer)
Diffstat (limited to 'databases')
-rw-r--r--databases/spatialite/Makefile10
-rw-r--r--databases/spatialite/distinfo4
-rw-r--r--databases/spatialite/pkg-plist6
3 files changed, 13 insertions, 7 deletions
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index 87deec7fb107..4fec8e1e5187 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= spatialite
-PORTVERSION= 4.2.0
-PORTREVISION= 1
+PORTVERSION= 4.3.0
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
@@ -26,9 +25,14 @@ USE_GNOME= libxml2
CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-CONFIGURE_ARGS+=--enable-libxml2=yes CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+= --enable-gcp=yes --enable-libxml2=yes CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
+OPTIONS_DEFINE=LWGEOM
+LWGEOM_DESC=Enable lwgeom (PostGIS) functions
+LWGEOM_CONFIGURE_ENABLE= lwgeom
+LWGEOM_LIB_DEPENDS= liblwgeom.so:${PORTSDIR}/databases/postgis21
+
post-patch:
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.am
@${REINPLACE_CMD} -e 's|-ldl| |' ${WRKSRC}/src/Makefile.in
diff --git a/databases/spatialite/distinfo b/databases/spatialite/distinfo
index 9e74e71c14c4..51be36fb6616 100644
--- a/databases/spatialite/distinfo
+++ b/databases/spatialite/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libspatialite-4.2.0.tar.gz) = 9f138a6854740c7827fdee53845eb1485fce3e805a7aa9fc9151f8046ebd312d
-SIZE (libspatialite-4.2.0.tar.gz) = 4188406
+SHA256 (libspatialite-4.3.0.tar.gz) = 4acf2d2b891989e61351584fe28514a6561f8f6a1901b988990513be5fe1bdfe
+SIZE (libspatialite-4.3.0.tar.gz) = 4439538
diff --git a/databases/spatialite/pkg-plist b/databases/spatialite/pkg-plist
index 393956b28609..b31174e6cfff 100644
--- a/databases/spatialite/pkg-plist
+++ b/databases/spatialite/pkg-plist
@@ -1,8 +1,10 @@
include/spatialite.h
+include/spatialite/control_points.h
include/spatialite/debug.h
include/spatialite/gaiaaux.h
include/spatialite/gaiaexif.h
include/spatialite/gaiageo.h
+include/spatialite/gaiamatrix.h
include/spatialite/geopackage.h
include/spatialite/gg_advanced.h
include/spatialite/gg_const.h
@@ -19,8 +21,8 @@ include/spatialite/sqlite.h
lib/libspatialite.a
lib/libspatialite.so
lib/libspatialite.so.7
-lib/libspatialite.so.7.0.0
+lib/libspatialite.so.7.1.0
lib/mod_spatialite.so
lib/mod_spatialite.so.7
-lib/mod_spatialite.so.7.0.0
+lib/mod_spatialite.so.7.1.0
libdata/pkgconfig/spatialite.pc