<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/38e38a224771849284e79305b037fb01678f1446">https://github.com/macports/macports-ports/commit/38e38a224771849284e79305b037fb01678f1446</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 38e38a224771849284e79305b037fb01678f1446
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Mar 27 08:17:46 2018 -0500
<span style='display:block; white-space:pre;color:#404040;'> laszip: Update to 3.2.2
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add a patch to prevent the build system from overriding the install_name
</span><span style='display:block; white-space:pre;color:#404040;'> set by the cmake 1.1 portgroup.
</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/55346
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/56142
</span>---
gis/laszip/Portfile | 22 ++++++++--------------
gis/laszip/files/install_name.patch | 14 ++++++++++++++
2 files changed, 22 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/laszip/Portfile b/gis/laszip/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 267050b..0cbdfc4 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/laszip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/laszip/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,8 +5,7 @@ PortGroup cmake 1.1
</span> PortGroup cxx11 1.1
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup LASZip LASzip 3.2.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup LASzip LASzip 3.2.2
</span> name laszip
categories gis
maintainers {vince @Veence}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -17,17 +16,12 @@ platforms darwin
</span> license GPL-2+
homepage https://www.laszip.org
<span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from releases
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname laszip-src-${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_bzip2 yes
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 8202240f2924ee863fe6236a4def7823e417d095 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 76a7eae65f8a397c3f8f709ad26476c84588aa531102d69af8eb4fd7c1bc3143 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 222623
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 68213e4397082af113f319333d3441875f705991 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 815b682ac4470cd4b546a3af105702f5fe161dd3926ea8c6df7dd9f13715153a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 151927
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir LASzip-LASzip-0a71b19
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -id ${prefix}/lib/liblaszip.3.dylib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/lib/liblaszip.3.2.0.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec install_name_tool -id ${prefix}/lib/liblaszip_api.3.dylib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/lib/liblaszip_api.3.2.0.dylib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles install_name.patch
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/laszip/files/install_name.patch b/gis/laszip/files/install_name.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..1eeddcd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/laszip/files/install_name.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not override the MacPorts install_name defaults.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cmake/macros.cmake.orig 2018-03-27 07:17:46.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cmake/macros.cmake 2018-03-27 07:37:39.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -70,10 +70,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RUNTIME DESTINATION ${LASZIP_BIN_INSTALL_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY DESTINATION ${LASZIP_LIB_INSTALL_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ARCHIVE DESTINATION ${LASZIP_LIB_INSTALL_DIR})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- set_target_properties(${_name} PROPERTIES INSTALL_NAME_DIR
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- "@executable_path/../lib")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endmacro(LASZIP_ADD_LIBRARY)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ###############################################################################
</span></pre><pre style='margin:0'>
</pre>