From 076ebd81c2d190f30100844a0b819d38f3edbbad Mon Sep 17 00:00:00 2001 From: Benjamin Trigona-Harany Date: Sun, 10 Nov 2019 21:52:40 -0800 Subject: gis/cartopy: Add support for proj6. --- gis/cartopy/cartopy.SlackBuild | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gis/cartopy/cartopy.SlackBuild') diff --git a/gis/cartopy/cartopy.SlackBuild b/gis/cartopy/cartopy.SlackBuild index ce376aa696f5..aa7effe8182a 100644 --- a/gis/cartopy/cartopy.SlackBuild +++ b/gis/cartopy/cartopy.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cartopy -# Copyright 2014-2018 Benjamin Trigona-Harany +# Copyright 2014-2019 Benjamin Trigona-Harany # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ PRGNAM=cartopy VERSION=${VERSION:-0.17.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -69,7 +69,8 @@ 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 {} \; -python setup.py install --root=$PKG +CFLAGS="$SLKCFLAGS -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1" \ + python setup.py install --root=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | \ grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -- cgit v1.2.3