summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/spatialite/Makefile5
-rw-r--r--databases/spatialite_gui/Makefile4
-rw-r--r--databases/spatialite_gui/distinfo1
3 files changed, 7 insertions, 3 deletions
diff --git a/databases/spatialite/Makefile b/databases/spatialite/Makefile
index fe74f785ba94..0838857d0c5c 100644
--- a/databases/spatialite/Makefile
+++ b/databases/spatialite/Makefile
@@ -3,6 +3,7 @@
PORTNAME= spatialite
PORTVERSION= 4.3.0
+PORTREVISION= 1
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/libspatialite-sources/
DISTNAME= lib${PORTNAME}-${PORTVERSION}
@@ -23,7 +24,9 @@ USE_GNOME= libxml2
CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB}
-CONFIGURE_ARGS+= --enable-gcp=yes --enable-libxml2=yes CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS+= --enable-gcp=yes --enable-libxml2=yes \
+ CFLAGS="${CFLAGS} -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \
+ LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
OPTIONS_DEFINE=LWGEOM
diff --git a/databases/spatialite_gui/Makefile b/databases/spatialite_gui/Makefile
index 9c01883edd48..77109e166e97 100644
--- a/databases/spatialite_gui/Makefile
+++ b/databases/spatialite_gui/Makefile
@@ -3,7 +3,7 @@
PORTNAME= spatialite_gui
PORTVERSION= 1.7.1
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= databases geography
MASTER_SITES= http://www.gaia-gis.it/gaia-sins/
@@ -23,7 +23,7 @@ USE_WX= 2.8
GNU_CONFIGURE= yes
USE_GNOME= libxml2
-CPPFLAGS+= `${WX_CONFIG} --cppflags`
+CPPFLAGS+= `${WX_CONFIG} --cppflags` "-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1"
LDFLAGS+= ${ICONV_LIB} `${WX_CONFIG} --libs` -lsqlite3
CONFIGURE_ARGS= CFLAGS="${CFLAGS} ${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
diff --git a/databases/spatialite_gui/distinfo b/databases/spatialite_gui/distinfo
index b9a1f0c5fa5f..0bea43d4b9b6 100644
--- a/databases/spatialite_gui/distinfo
+++ b/databases/spatialite_gui/distinfo
@@ -1,2 +1,3 @@
+TIMESTAMP = 1561512545
SHA256 (spatialite_gui-1.7.1.tar.gz) = cb9cb1ede7f83a5fc5f52c83437e556ab9cb54d6ace3c545d31b317fd36f05e4
SIZE (spatialite_gui-1.7.1.tar.gz) = 1090178