From c9f88793382ba5f0e26c554e010874f538683e2e Mon Sep 17 00:00:00 2001 From: Nicklas Larsson Date: Thu, 26 Sep 2024 09:22:39 +0200 Subject: [PATCH] saga: use latest version of PROJ --- gis/saga/Portfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gis/saga/Portfile b/gis/saga/Portfile index 07fcdea18d8ba..e500dbd44d127 100644 --- a/gis/saga/Portfile +++ b/gis/saga/Portfile @@ -41,11 +41,10 @@ depends_build-append \ port:swig if {${subport} eq ${name}} { -# SAGA 9.1.0 do not support PROJ 8+ API depends_lib-append \ port:${wxWidgets.port} \ port:gdal \ - port:proj7 \ + port:proj \ port:opencv4 \ port:pdal \ port:curl \ @@ -54,7 +53,7 @@ if {${subport} eq ${name}} { depends_build-append \ port:${wxWidgets.port} \ port:gdal \ - port:proj7 \ + port:proj \ port:opencv4 \ port:pdal \ port:curl \ @@ -73,8 +72,8 @@ configure.args -DwxWidgets_CONFIG_EXECUTABLE=${wxWidgets.wxconfig} -DWITH_SYSTEM_GEOTRANS=OFF \ -DWITH_CLIPPER_ONE=OFF \ -DWITH_MRMR=OFF \ - -DPROJ_INCLUDE_DIR=${prefix}/lib/proj7/include \ - -DPROJ_LIBRARY=${prefix}/lib/proj7/lib/libproj.dylib + -DPROJ_INCLUDE_DIR=${prefix}/lib/proj9/include \ + -DPROJ_LIBRARY=${prefix}/lib/proj9/lib/libproj.dylib configure.args-append -DWITH_TOOLS=ON \ -DWITH_TOOLS_OPENCV=ON \