gis/mapnik: Support proj version 6.
This commit is contained in:
parent
67f93d29bd
commit
335bc843ae
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue