Skip to content
Permalink
Browse files

gdal: bump to 2.2.4

  • Loading branch information
Veence committed Apr 10, 2018
1 parent 3fd6d47 commit 86585b7492195a0cf8abb922e8acb5362f9dd879
Showing with 16 additions and 7 deletions.
  1. +16 −7 gis/gdal/Portfile
@@ -5,8 +5,8 @@ PortGroup mpi 1.0
PortGroup muniversal 1.0

name gdal
version 2.2.3
revision 5
version 2.2.4
revision 0
categories gis
license MIT BSD
platforms darwin
@@ -26,8 +26,8 @@ long_description GDAL is a translator library for raster geospatial \
homepage http://www.gdal.org/
master_sites http://download.osgeo.org/gdal/${version}/

checksums rmd160 4fe078373c85e1f269e1821d3420a147dd29a909 \
sha256 52f01bda8968643633016769607e6082a8ba1c746fadc2c1abe12cf7dc8f61dd
checksums rmd160 c2a0fbaca8e8895fd8443b535ded768943afa5c8 \
sha256 b9d5a723787f3006a82cb276db171c721187b048b866c0e20e6df464d671a1a4

compilers.choose cc cxx
mpi.setup
@@ -42,7 +42,7 @@ depends_lib-append port:zlib \
port:libgeotiff \
port:jpeg \
port:giflib \
port:proj4 \
port:proj \
port:qhull \
port:sqlite3 \
port:spatialite
@@ -61,7 +61,7 @@ configure.args-append \
--with-geotiff=${prefix} \
--with-jpeg=${prefix}\
--with-gif=${prefix} \
--with-static-proj4=${prefix}/lib/proj49 \
--with-static-proj4=${prefix}/lib/proj5 \
--with-qhull=yes \
--with-pam \
--with-sqlite3=${prefix} \
@@ -316,6 +316,15 @@ variant opencl description {Use OpenCL for parallel computations} {

configure.optflags -DGDAL_COMPILATION

# Proj version
variant proj4 description {Use Proj4 4.9 instead of Proj4 5+} {

depends_lib-delete port:proj
depends_lib-append port:proj4
configure.args-delete --with-static-proj4=${prefix}/lib/proj5
configure.args-append --with-static-proj4=${prefix}/lib/proj49
}

# Perf variant to optimize code
variant perf description {Optimize for speed} {
configure.optflags -O3 -pipe -march=native -DGDAL_COMPILATION
@@ -331,7 +340,7 @@ foreach jpeg2kVariant {jasper openjpeg ecw} {
}
}
if {${jpeg2k} > 1} {
notes-append "Multiple drivers are able to able to open JPEG-2000 datasets. See https://trac.osgeo.org/gdal/wiki/ConfigOptions#GDAL_SKIP."
notes-append "Multiple drivers are able to open JPEG-2000 datasets. See https://trac.osgeo.org/gdal/wiki/ConfigOptions#GDAL_SKIP."
}

# Postconfigure hack to avoid read ${include} .h files before

0 comments on commit 86585b7

Please sign in to comment.
You can’t perform that action at this time.