gis/mapnik: Support proj version 6.

This commit is contained in:
Benjamin Trigona-Harany 2019-11-16 14:55:01 -08:00 committed by Willy Sudiarto Raharjo
parent 67f93d29bd
commit 335bc843ae
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with 5 additions and 7 deletions

View File

@ -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