git: 8b1e446b29c1 - main - graphics/gdal: Update to 3.6.3

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 17:34:53 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8b1e446b29c12d4178bcca2edb32efef3cbb96e1

commit 8b1e446b29c12d4178bcca2edb32efef3cbb96e1
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:14:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:30:00 +0000

    graphics/gdal: Update to 3.6.3
    
    - Fix options drivers [1]
    - Update WWW and clean up pkg-descr
    
    Changes:        https://github.com/OSGeo/gdal/releases
                    https://github.com/OSGeo/gdal/blob/release/3.6/NEWS.md
    PR:             269708 [1]
---
 graphics/gdal/Makefile | 21 ++++++++++-----------
 graphics/gdal/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 14 deletions(-)

diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 72911e872bc9..a47bc0c53d50 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	gdal
-PORTVERSION=	3.6.2
-PORTREVISION=	3
+PORTVERSION=	3.6.3
 CATEGORIES=	graphics geography
 MASTER_SITES=	https://download.osgeo.org/gdal/${PORTVERSION}/ \
 		LOCAL/sunpoet
@@ -21,7 +20,6 @@ LIB_DEPENDS=	libgeotiff.so:graphics/libgeotiff \
 		libpng.so:graphics/png \
 		libproj.so:graphics/proj \
 		libqhull_r.so:math/qhull \
-		libshp.so:devel/shapelib \
 		libtiff.so:graphics/tiff
 
 USES=		cmake compiler:c++17-lang cpe iconv jpeg localbase pkgconfig ssl tar:xz
@@ -33,7 +31,9 @@ CMAKE_OFF=	BUILD_CSHARP_BINDINGS \
 		BUILD_TESTING \
 		CLANG_TIDY_ENABLED \
 		CSHARP_MONO \
-		GDAL_BUILD_OPTIONAL_DRIVERS \
+		GDAL_ENABLE_HDF5_GLOBAL_LOCK  \
+		GDAL_ENABLE_PLUGINS \
+		GDAL_ENABLE_PLUGINS_NO_DEPS \
 		GDAL_SET_INSTALL_RELATIVE_RPATH \
 		GDAL_USE_INTERNAL_LIBS \
 		GDAL_USE_GEOTIFF_INTERNAL \
@@ -46,14 +46,12 @@ CMAKE_OFF=	BUILD_CSHARP_BINDINGS \
 		GDAL_USE_OPENCAD \
 		GDAL_USE_OPENCAD_INTERNAL \
 		GDAL_USE_PNG_INTERNAL \
-		GDAL_USE_POSTGRESQL \
 		GDAL_USE_PUBLICDECOMPWT \
 		GDAL_USE_QHULL_INTERNAL \
-		GDAL_USE_SHAPELIB_INTERNAL \
+		GDAL_USE_SHAPELIB \
 		GDAL_USE_TIFF_INTERNAL \
 		GDAL_USE_ZLIB_INTERNAL \
 		HDFS_ENABLED \
-		OGR_BUILD_OPTIONAL_DRIVERS \
 		SWIG_REGENERATE_PYTHON
 CMAKE_ON=	BUILD_APPS \
 		BUILD_SHARED_LIBS \
@@ -61,7 +59,7 @@ CMAKE_ON=	BUILD_APPS \
 		ENABLE_GNM \
 		ENABLE_IPO \
 		ENABLE_PAM \
-		GDAL_ENABLE_PLUGINS \
+		GDAL_BUILD_OPTIONAL_DRIVERS \
 		GDAL_HIDE_INTERNAL_SYMBOLS \
 		GDAL_OBJECT_LIBRARIES_POSITION_INDEPENDENT_CODE \
 		GDAL_SPLIT_EXPORTED_LIBS \
@@ -77,9 +75,10 @@ CMAKE_ON=	BUILD_APPS \
 		GDAL_USE_OPENSSL \
 		GDAL_USE_PNG \
 		GDAL_USE_QHULL \
-		GDAL_USE_SHAPELIB \
+		GDAL_USE_SHAPELIB_INTERNAL \
 		GDAL_USE_TIFF \
 		GDAL_USE_ZLIB \
+		OGR_BUILD_OPTIONAL_DRIVERS \
 		OGR_SQLITE_ALLOW_LOAD_EXTENSIONS \
 		USE_CCACHE
 USE_CXXSTD=	c++17
@@ -152,7 +151,7 @@ HDF5_CMAKE_BOOL=	GDAL_USE_HDF5
 HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5
 HEIF_CMAKE_BOOL=	GDAL_USE_HEIF
 HEIF_LIB_DEPENDS=	libheif.so:graphics/libheif
-KML_CMAKE_BOOL=		GDAL_USE_KML
+KML_CMAKE_BOOL=		GDAL_USE_LIBKML
 KML_LIB_DEPENDS=	libkmlbase.so:science/libkml
 LERC_CMAKE_BOOL=	GDAL_USE_LERC
 LERC_LIB_DEPENDS=	libLerc.so:graphics/lerc
@@ -173,7 +172,7 @@ PCRE_CMAKE_BOOL=	GDAL_USE_PCRE
 PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
 PCRE2_CMAKE_BOOL=	GDAL_USE_PCRE2
 PCRE2_LIB_DEPENDS=	libpcre2-8.so:devel/pcre2
-PGSQL_CMAKE_BOOL=	GDAL_USE_PGSQL
+PGSQL_CMAKE_BOOL=	GDAL_USE_POSTGRESQL
 PGSQL_USES=		pgsql
 PODOFO_CMAKE_BOOL=	GDAL_USE_PODOFO
 PODOFO_LIB_DEPENDS=	libpodofo.so:graphics/podofo
diff --git a/graphics/gdal/distinfo b/graphics/gdal/distinfo
index 495e48035055..4f3b664a23d7 100644
--- a/graphics/gdal/distinfo
+++ b/graphics/gdal/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1674589586
-SHA256 (gdal-3.6.2.tar.xz) = 35f40d2e08061b342513cdcddc2b997b3814ef8254514f0ef1e8bc7aa56cf681
-SIZE (gdal-3.6.2.tar.xz) = 8635724
+TIMESTAMP = 1679498566
+SHA256 (gdal-3.6.3.tar.xz) = 3cccbed883b1fb99b913966aa3a650ad930e7c3afc714f5823f9754176ee49ea
+SIZE (gdal-3.6.3.tar.xz) = 8645148