Skip to content

Commit

Permalink
spatialindex: Update to 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nilason committed Jul 29, 2024
1 parent 8de4f5c commit 746a757
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 6 deletions.
18 changes: 12 additions & 6 deletions devel/spatialindex/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup cmake 1.1

github.setup libspatialindex libspatialindex 1.9.3
github.tarball_from archive
github.setup libspatialindex libspatialindex 2.0.0
github.tarball_from releases
name spatialindex
revision 0

categories devel science
platforms darwin
license MIT
maintainers nomaintainer

Expand All @@ -23,10 +22,17 @@ long_description {*}${description} \

homepage https://libspatialindex.org/

checksums rmd160 482054dd3b20f49055e6bc7a1b948fd51ffe62fe \
sha256 7b44340a3edc55c11abfc453bb60f148b29f569cef9e1148583e76132e9c7379 \
size 737444
distname ${name}-src-${version}

checksums rmd160 8894c66f8b99e0403835a25d51389ff1dd72e840 \
sha256 f1d5a369681fa6ac3301a54db412ccf3180fc17163ebc3252f32c752f77345de \
size 669866

compiler.cxx_standard 2011

patchfiles patch-src_CMakeLists_txt.diff

configure.args-append \
-DBUILD_TESTING=OFF

github.livecheck.regex {([0-9.]+)}
18 changes: 18 additions & 0 deletions devel/spatialindex/files/patch-src_CMakeLists_txt.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Remove hardcoded INSTALL_NAME_DIR.


--- src/CMakeLists.txt.orig 2024-06-07 18:22:12
+++ src/CMakeLists.txt 2024-07-29 12:34:58
@@ -247,12 +247,6 @@
target_compile_definitions(spatialindex PRIVATE -DHAVE_BCOPY=1)
endif()

-
-if(APPLE)
- set(MACOSX_RPATH ON)
- set_target_properties(spatialindex spatialindex_c
- PROPERTIES INSTALL_NAME_DIR "@rpath")
-endif()

###############################################################################
# Targets installation

0 comments on commit 746a757

Please sign in to comment.