<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/57432884ee0db34bb0a44d1b886483ad689991f1">https://github.com/macports/macports-ports/commit/57432884ee0db34bb0a44d1b886483ad689991f1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 57432884ee0db34bb0a44d1b886483ad689991f1
</span>Author: nilason <n_larsson@yahoo.com>
AuthorDate: Sat Sep 2 14:14:14 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> gdal: fix build failure with +libkml variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/68023
</span>---
gis/gdal/Portfile | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/gdal/Portfile b/gis/gdal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 454d58d5cb2..987c1e75d7d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/gdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/gdal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -12,7 +12,7 @@ PortGroup legacysupport 1.0
</span> mpi.setup
github.setup OSGeo gdal 3.7.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> checksums rmd160 20aaf41d850c8d4cf7d844221843ae8331e83a35 \
sha256 9297948f0a8ba9e6369cd50e87c7e2442eda95336b94d2b92ef1829d260b9a06 \
size 8614512
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -316,12 +316,14 @@ variant cryptopp description {Enable Crypto++ support} {
</span> }
variant libkml description {Enable libkml} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set boost_includedir [exec ${prefix}/bin/pkg-config --variable=boost_includedir libkml]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set boost_includedir [exec ${prefix}/bin/pkg-config --variable=boost_includedir libkml]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -I${boost_includedir}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span>
depends_lib-append port:libkml
configure.args-replace -DGDAL_USE_LIBKML=OFF -DGDAL_USE_LIBKML=ON
configure.args-append -DOGR_ENABLE_DRIVER_LIBKML=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.cxxflags-append -I${boost_includedir}
</span> }
variant mrsid description {Enable MrSID file format} {
</pre><pre style='margin:0'>
</pre>