diff options
Diffstat (limited to 'graphics/mapnik/Makefile')
-rw-r--r-- | graphics/mapnik/Makefile | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/graphics/mapnik/Makefile b/graphics/mapnik/Makefile index 984c6a67fa79..86242dcdde9e 100644 --- a/graphics/mapnik/Makefile +++ b/graphics/mapnik/Makefile @@ -1,11 +1,8 @@ PORTNAME= mapnik DISTVERSIONPREFIX= v -DISTVERSION= 4.0.6 +DISTVERSION= 4.1.0 CATEGORIES= graphics geography -PATCH_SITES= https://github.com/mapnik/mapnik/commit/ -PATCHFILES= 102cf2b2c4b58d3540b3ff15c65ad90335f3a80d.patch:-p1 - MAINTAINER= hummeltech@sherpaguru.com COMMENT= Free Toolkit For Developing Mapping Applications WWW= http://www.mapnik.org/ @@ -29,6 +26,7 @@ GH_PROJECT= mapnik GH_TUPLE= mapbox:geometry.hpp:c83a2ab:geometry_hpp/deps/mapbox/geometry \ mapbox:polylabel:51f09d0:polylabel/deps/mapbox/polylabel \ mapbox:variant:a2a4858:variant/deps/mapbox/variant \ + mapnik:mapnik-vector-tile:5a0cfbb:mapnik_vector_tile/deps/mapbox/mapnik-vector-tile \ catchorg:Catch2:v2.13.10:catch2/test/catch2 \ mapnik:test-data:41c4cee:test_data/test/data @@ -113,6 +111,16 @@ PGSQL2SQLITE_CMAKE_BOOL= BUILD_UTILITY_PGSQL2SQLITE SHAPEINDEX_CMAKE_BOOL= BUILD_UTILITY_SHAPEINDEX SVG2PNG_CMAKE_BOOL= BUILD_UTILITY_SVG2PNG +# MB/PMTiles input plugin (added in 4.1.0) will not compile on i386 without a patch +.include <bsd.port.options.mk> + +.if ${ARCH} == i386 +CMAKE_OFF= USE_PLUGIN_INPUT_TILES +PLIST_SUB+= NOTI386="@comment " +.else +PLIST_SUB+= NOTI386="" +.endif + pre-configure-SQLITE3-on: @if ! ${LOCALBASE}/bin/sqlite3 :memory: 'create virtual table foo using rtree(pkid, xmin, xmax, ymin, ymax)' > /dev/null 2>&1; then \ ${ECHO_MSG} "" ; \ |