summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-03-11 23:47:06 +0000
committergdt <gdt@pkgsrc.org>2020-03-11 23:47:06 +0000
commitffe3d8214b5233b2d0dd8850c20ee6fc2e503e26 (patch)
tree55d79c2eb40e078f58e91386366132ee9e121f06 /geography
parenta47314a939097405016206f1883ed3792abf9452 (diff)
downloadpkgsrc-ffe3d8214b5233b2d0dd8850c20ee6fc2e503e26.tar.gz
geography/libspatialite: Workaround for proj 6
The last release of spatialite (2015) does not build with proj 6. Force enable the deprecated API. Include URL to upstream bug, which is fixed in what might become the next release, should that occur.
Diffstat (limited to 'geography')
-rw-r--r--geography/libspatialite/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/geography/libspatialite/Makefile b/geography/libspatialite/Makefile
index 8ad955664ea..539cc11f1ad 100644
--- a/geography/libspatialite/Makefile
+++ b/geography/libspatialite/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2019/11/03 19:30:33 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2020/03/11 23:47:06 gdt Exp $
DISTNAME= libspatialite-4.3.0a
PKGREVISION= 10
@@ -17,6 +17,9 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-examples
PKGCONFIG_OVERRIDE= spatialite.pc.in
+# https://www.gaia-gis.it/fossil/libspatialite/tktview?name=6eabdf0e6d
+CPPFLAGS+= -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H
+
# src/shapefiles wants to create both a module and library
# from the same sources. This confuses some temporary file handling
# in libtool 2.4.2.