diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2019-11-16 14:55:01 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-11-23 16:01:58 +0700 |
commit | 335bc843aeefc17b7d50905748201113ad5ba772 (patch) | |
tree | 1714ab5157364125b2758df63b5cd51ee6d91976 /gis | |
parent | 67f93d29bdc5b580087d72d27cd8a7976169c161 (diff) |
gis/mapnik: Support proj version 6.
Diffstat (limited to 'gis')
-rw-r--r-- | gis/mapnik/mapnik.SlackBuild | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild index 0aa8c87140814..e6824b55676f0 100644 --- a/gis/mapnik/mapnik.SlackBuild +++ b/gis/mapnik/mapnik.SlackBuild @@ -25,7 +25,7 @@ PRGNAM=mapnik VERSION=${VERSION:-3.0.22} VARIANT=1.1.5 -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -83,17 +83,15 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -./configure \ - CC=clang \ - CXX=clang++ \ - JOBS=$JOBS \ +scons configure \ + FAST=True \ CUSTOM_CFLAGS="$SLKCFLAGS" \ CUSTOM_CXXFLAGS="$SLKCFLAGS" \ PREFIX=/usr \ LIBDIR_SCHEMA=lib$LIBDIRSUFFIX \ SYSTEM_FONTS=/usr/share/fonts \ - INPUT_PLUGINS=sqlite,ogr,shape,geojson,gdal,pgraster,raster,topojson,postgis,csv \ - CUSTOM_DEFINES="$CUSTOM_DEFINES" \ + INPUT_PLUGINS=all \ + CUSTOM_DEFINES="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 $CUSTOM_DEFINES" \ DESTDIR=$PKG make install |