aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/spatialite/Makefile10
-rw-r--r--databases/spatialite/distinfo6
-rw-r--r--databases/spatialite/pkg-plist5
3 files changed, 13 insertions, 8 deletions
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index 891953c1bed7..6263e1127255 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -6,24 +6,26 @@
#
PORTNAME= spatialite
-PORTVERSION= 2.0
+PORTVERSION= 2.2
CATEGORIES= databases geography
-MASTER_SITES= http://www.gaia-gis.it/spatialite-2.0/
+MASTER_SITES= http://www.gaia-gis.it/${PORTNAME}-${PORTVERSION}/
MAINTAINER= wenheping@gmail.com
COMMENT= Spatial Extensions for SQLite
LIB_DEPENDS= geos_c.5:${PORTSDIR}/graphics/geos/ \
- proj.5:${PORTSDIR}/graphics/proj/
+ proj.5:${PORTSDIR}/graphics/proj/ \
+ iconv.3:${PORTSDIR}/converters/libiconv/
GNU_CONFIGURE= yes
USE_GMAKE= yes
CFLAGS+= -I${LOCALBASE}/include
-LDFLAGS+= -L${LOCALBASE}/lib
+LDFLAGS+= -L${LOCALBASE}/lib -liconv
CONFIGURE_ARGS+=CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
post-patch:
+ @${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/sqlite3/Makefile.in
@${REINPLACE_CMD} -e 's#-ldl##g' ${WRKSRC}/src/shell/Makefile.in
.include <bsd.port.mk>
diff --git a/databases/spatialite/distinfo b/databases/spatialite/distinfo
index d2b01cc56b73..482aec63bdb4 100644
--- a/databases/spatialite/distinfo
+++ b/databases/spatialite/distinfo
@@ -1,3 +1,3 @@
-MD5 (spatialite-2.0.tar.gz) = 57a4343e1507e1db67f137a699676a9f
-SHA256 (spatialite-2.0.tar.gz) = 79448ee25c7be75581d2cb61b7d4a8fd93c94e015b05532e8a02c74ef28cf7a6
-SIZE (spatialite-2.0.tar.gz) = 1259917
+MD5 (spatialite-2.2.tar.gz) = 099e2527c57a51e2648d9bb75af12d90
+SHA256 (spatialite-2.2.tar.gz) = 6cc19a315ac4ae1c88b84dda5444a057c0ddcb631bd1247dbca50b78a8d48c9b
+SIZE (spatialite-2.2.tar.gz) = 1355505
diff --git a/databases/spatialite/pkg-plist b/databases/spatialite/pkg-plist
index fb251c27b5bd..a1d16de96c92 100644
--- a/databases/spatialite/pkg-plist
+++ b/databases/spatialite/pkg-plist
@@ -1,11 +1,14 @@
bin/spatialite
+lib/libsqlite3.la
+lib/libsqlite3.a
+lib/libsqlite3.so
+lib/libsqlite3.so.3
lib/libspatialite.la
lib/libspatialite.a
lib/libspatialite.so
lib/libspatialite.so.2
include/spatialite.h
include/spatialite/gaiageo.h
-include/spatialite/rtree.h
include/spatialite/spatialite.h
include/spatialite/sqlite3.h
include/spatialite/sqlite3ext.h