diff options
author | David Spencer <baildon.research@googlemail.com> | 2010-12-15 09:20:39 -0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-12-17 07:56:47 -0600 |
commit | 744138b5f749391e5bdddbf2cf3ecd3c39bd77fc (patch) | |
tree | 3265fea2195edd25e0121c0c67d4b88dc91a625a /libraries/gdal/gdal.SlackBuild | |
parent | 27b32686b0e44b05f6e1f3256119018b0ac7f631 (diff) |
libraries/gdal: Updated for version 1.7.3.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'libraries/gdal/gdal.SlackBuild')
-rw-r--r-- | libraries/gdal/gdal.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/gdal/gdal.SlackBuild b/libraries/gdal/gdal.SlackBuild index 120ef7c1062b..ead65586c9b8 100644 --- a/libraries/gdal/gdal.SlackBuild +++ b/libraries/gdal/gdal.SlackBuild @@ -4,7 +4,7 @@ # Maintained by David Spencer <baildon.research@googlemail.com> PRGNAM=gdal -VERSION=1.7.2 +VERSION=${VERSION:-1.7.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,8 +51,10 @@ find . \ -exec chmod 644 {} \; WITHLIST="" -if [[ "$GRASS" = "yes" ]]; then - WITHLIST+=" --with-grass=/usr/lib${LIBDIRSUFFIX}/grass" +if pkg-config --exists grass; then + if [ ${GRASS:-yes} = "yes" ]; then + WITHLIST+=" --with-grass=$(pkg-config --variable=prefix grass)" + fi fi CFLAGS="$SLKCFLAGS" \ |