Skip to content

Commit

Permalink
saga: use latest version of PROJ
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Sep 26, 2024
1 parent 30615de commit c9f8879
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions gis/saga/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand All @@ -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 \
Expand All @@ -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 \
Expand Down

0 comments on commit c9f8879

Please sign in to comment.