<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ecd760dac910bdc3b9ab9e41c3ffa4c8d605e8dd">https://github.com/macports/macports-ports/commit/ecd760dac910bdc3b9ab9e41c3ffa4c8d605e8dd</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit ecd760dac910bdc3b9ab9e41c3ffa4c8d605e8dd
</span>Author: Nicklas Larsson <n_larsson@yahoo.com>
AuthorDate: Mon Jul 29 12:43:25 2024 +0200
<span style='display:block; white-space:pre;color:#404040;'> spatialindex: Update to 2.0.0
</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/70262
</span>---
devel/spatialindex/Portfile | 18 ++++++++++++------
devel/spatialindex/files/patch-src_CMakeLists_txt.diff | 18 ++++++++++++++++++
2 files changed, 30 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/spatialindex/Portfile b/devel/spatialindex/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9a5b388e154..2174b007ca9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/spatialindex/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/spatialindex/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,13 +4,12 @@ PortSystem 1.0
</span> PortGroup github 1.0
PortGroup cmake 1.1
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup libspatialindex libspatialindex 1.9.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-github.tarball_from archive
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup libspatialindex libspatialindex 2.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span> name spatialindex
revision 0
categories devel science
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> license MIT
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,10 +22,17 @@ long_description {*}${description} \
</span>
homepage https://libspatialindex.org/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 482054dd3b20f49055e6bc7a1b948fd51ffe62fe \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 7b44340a3edc55c11abfc453bb60f148b29f569cef9e1148583e76132e9c7379 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 737444
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname ${name}-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 8894c66f8b99e0403835a25d51389ff1dd72e840 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f1d5a369681fa6ac3301a54db412ccf3180fc17163ebc3252f32c752f77345de \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 669866
</span>
compiler.cxx_standard 2011
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-src_CMakeLists_txt.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DBUILD_TESTING=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> github.livecheck.regex {([0-9.]+)}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/spatialindex/files/patch-src_CMakeLists_txt.diff b/devel/spatialindex/files/patch-src_CMakeLists_txt.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..d750c9bb9b3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/spatialindex/files/patch-src_CMakeLists_txt.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,18 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Remove hardcoded INSTALL_NAME_DIR.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/CMakeLists.txt.orig 2024-06-07 18:22:12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/CMakeLists.txt 2024-07-29 12:34:58
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -247,12 +247,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ target_compile_definitions(spatialindex PRIVATE -DHAVE_BCOPY=1)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if(APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set(MACOSX_RPATH ON)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set_target_properties(spatialindex spatialindex_c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- PROPERTIES INSTALL_NAME_DIR "@rpath")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Targets installation
</span></pre><pre style='margin:0'>
</pre>