aboutsummaryrefslogtreecommitdiff
path: root/databases/spatialite
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2019-06-27 03:37:10 +0000
committerWen Heping <wen@FreeBSD.org>2019-06-27 03:37:10 +0000
commit3d23ba68ab99fb4d59e9795ce691e40be3d48c8b (patch)
tree9d7639e045bd1b558843fd036fa2fa9922c9400b /databases/spatialite
parent81f468837bda92e07f4bb7b261840c87179d2aaa (diff)
Notes
Diffstat (limited to 'databases/spatialite')
-rw-r--r--databases/spatialite/Makefile5
1 files changed, 4 insertions, 1 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