Ticket #64141: Portfile.patch.2

File Portfile.patch.2, 1.5 KB (added by bal-agates, 2 years ago)

gdal Portfile patch that changes --with-libtiff, --with-geotiff, --with-jpeg

Line 
1--- Portfile.orig       2021-11-07 07:02:13.000000000 -0600
2+++ Portfile    2021-12-07 07:57:57.000000000 -0600
3@@ -12,7 +12,7 @@
4 mpi.setup
5 
6 github.setup        OSGeo gdal 3.3.1 v
7-revision            2
8+revision            3
9 checksums           rmd160  7d2e737733248346201cad75987f258e065dc14d \
10                     sha256  48ab00b77d49f08cf66c60ccce55abb6455c3079f545e60c90ee7ce857bccb70 \
11                     size    12933888
12@@ -52,6 +52,9 @@
13 depends_lib-append  port:zlib \
14                     port:zstd \
15                     port:libpng \
16+                    port:tiff \
17+                    port:libgeotiff \
18+                    port:libjpeg-turbo \
19                     port:lerc \
20                     port:expat \
21                     port:libxml2 \
22@@ -212,9 +215,9 @@
23                     --without-liblzma                   \
24                     --without-heif                      \
25                     --with-png=yes                      \
26-                    --with-libtiff=internal             \
27-                    --with-geotiff=internal             \
28-                    --with-jpeg=internal                \
29+                    --with-libtiff=${prefix}            \
30+                    --with-geotiff=${prefix}            \
31+                    --with-jpeg=${prefix}               \
32                     --with-charls=yes                   \
33                     --with-gif=yes                      \
34                     --with-qhull=yes                    \