git: 66282ba1e9a2 - main - graphics/gdal: Update KML option

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 05 Oct 2023 02:01:14 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=66282ba1e9a2dc804c7def9995df30d3bbb9655f

commit 66282ba1e9a2dc804c7def9995df30d3bbb9655f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-10-05 01:55:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-10-05 02:00:12 +0000

    graphics/gdal: Update KML option
    
    gdal links against minizip and uriparser if KML option is enabled.
    Do not bump PORTREVISION because the package depends list is unchanged.
---
 graphics/gdal/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/gdal/Makefile b/graphics/gdal/Makefile
index 4ec686323913..856639ae3fe6 100644
--- a/graphics/gdal/Makefile
+++ b/graphics/gdal/Makefile
@@ -156,7 +156,9 @@ 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_LIBKML
-KML_LIB_DEPENDS=	libkmlbase.so:science/libkml
+KML_LIB_DEPENDS=	libkmlbase.so:science/libkml \
+			liburiparser.so:net/uriparser
+KML_USES=		minizip
 LERC_CMAKE_BOOL=	GDAL_USE_LERC
 LERC_LIB_DEPENDS=	libLerc.so:graphics/lerc
 LIBXML2_CMAKE_BOOL=	GDAL_USE_LIBXML2