summaryrefslogtreecommitdiff
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
parent- Change DEPENDS from graphics/proj to graphics/proj5 (diff)
- Update to 6.1.0 and fix some ports
- Add missing DEPENDS - Add TEST_TARGET - Take maintainership PR: 237932, 238795 Submitted by: wenheping2000@hotmail.com,rhurlin@gwdg.de Approved by: maintainer(timeout, > 30 days), portmgr@(implicit, fix build) Exp-run by: antoine@ Thanks to: antoine@, sunpoet@, rhurlin@gwdg.de
Notes
Notes: svn path=/head/; revision=505194
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