diff options
author | Benjamin Trigona-Harany <bosth@alumni.sfu.ca> | 2018-04-18 12:48:50 -0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-21 07:43:05 +0700 |
commit | b971acee50e886b226de9214add2be55b3b6be4f (patch) | |
tree | f45357ef58a90d1842a0d0c5d6c8604891c8936e /gis/mapnik/mapnik.SlackBuild | |
parent | 96f26446a111f2dd13e7f2ff8443708d43596cad (diff) |
gis/mapnik: Updated for version 3.0.20.
Diffstat (limited to 'gis/mapnik/mapnik.SlackBuild')
-rw-r--r-- | gis/mapnik/mapnik.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/gis/mapnik/mapnik.SlackBuild b/gis/mapnik/mapnik.SlackBuild index 233fa602b62c..88c092525dc0 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 |