summaryrefslogtreecommitdiff
path: root/gis/mapnik/mapnik.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/mapnik/mapnik.SlackBuild')
-rw-r--r--gis/mapnik/mapnik.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild
index 233fa602b6..88c092525d 100644
--- a/gis/mapnik/mapnik.SlackBuild
+++ b/gis/mapnik/mapnik.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mapnik
-VERSION=${VERSION:-3.0.19}
+VERSION=${VERSION:-3.0.20}
VARIANT=1.1.5
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -65,6 +65,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
+# support build with current
+if [[ `icu-config --version` =~ ^61 ]] ; then
+ CUSTOM_DEFINES=-DU_USING_ICU_NAMESPACE=1
+fi
+
# mapnik needs files from git submodule
cd deps/mapbox
tar xvf $CWD/variant-$VARIANT.tar.gz -C variant --strip-components 1
@@ -87,6 +92,7 @@ find -L . \
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" \
DESTDIR=$PKG
make install