diff options
Diffstat (limited to 'databases/spatialite')
-rw-r--r-- | databases/spatialite/Makefile | 5 |
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 |