git: 069de9cc7922 - main - graphics/qgis: Switch to external MDAL

From: Rainer Hurling <rhurlin_at_FreeBSD.org>
Date: Sun, 24 Oct 2021 07:08:53 UTC
The branch main has been updated by rhurlin:

URL: https://cgit.FreeBSD.org/ports/commit/?id=069de9cc7922058c9521a63f1414bacdc8249217

commit 069de9cc7922058c9521a63f1414bacdc8249217
Author:     Rainer Hurling <rhurlin@FreeBSD.org>
AuthorDate: 2021-10-24 07:02:34 +0000
Commit:     Rainer Hurling <rhurlin@FreeBSD.org>
CommitDate: 2021-10-24 07:08:16 +0000

    graphics/qgis: Switch to external MDAL
    
    Now that math/mdal is updated to v0.9.0, using it again. Thanks to wen@
---
 graphics/qgis/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/graphics/qgis/Makefile b/graphics/qgis/Makefile
index 122ce70841eb..b0d33bf813bf 100644
--- a/graphics/qgis/Makefile
+++ b/graphics/qgis/Makefile
@@ -3,6 +3,7 @@
 PORTNAME=	qgis
 DISTVERSIONPREFIX=	final-
 DISTVERSION=	3_22_0
+PORTREVISION=	1
 CATEGORIES=	graphics geography
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
@@ -44,6 +45,7 @@ LIB_DEPENDS=	libexiv2.so:graphics/exiv2 \
 		libgsl.so:math/gsl \
 		libhdf5.so:science/hdf5 \
 		liblazperf.so:archivers/lazperf \
+		libmdal.so:math/mdal \
 		libnetcdf.so:science/netcdf \
 		libOpenCL.so:devel/ocl-icd \
 		libpdal_base.so:math/pdal \
@@ -124,7 +126,7 @@ SHEBANG_FILES=	src/plugins/grass/scripts/*.py
 CMAKE_ARGS+=	-DCMAKE_BUILD_TYPE:STRING=Release \
 		-DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW \
 		-DLazPerf_INCLUDE_DIR:PATH=${LOCALBASE}/include/lazperf \
-		-DWITH_INTERNAL_MDAL:BOOL=true \
+		-DWITH_INTERNAL_MDAL:BOOL=false \
 		-DPYRCC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyrcc5-${PYTHON_VER} \
 		-DPYUIC_PROGRAM:FILEPATH=${LOCALBASE}/bin/pyuic5-${PYTHON_VER} \
 		-DQSCI_SIP_DIR:PATH=${PYQT_SIPDIR}/Qsci \