<pre style='margin:0'>
Frank Schima (mf2k) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/821564e9a90975d1542de0b542a6672e58901231">https://github.com/macports/macports-ports/commit/821564e9a90975d1542de0b542a6672e58901231</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 821564e9a90975d1542de0b542a6672e58901231
</span>Author: nila <n_larsson@yahoo.com>
AuthorDate: Tue May 5 15:28:23 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> grass7: add zstd variant
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes: https://trac.macports.org/ticket/58539
</span>---
gis/grass7/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/gis/grass7/Portfile b/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c7731b4..28ba927 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/gis/grass7/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -237,6 +237,13 @@ variant openblas description {Use OpenBLAS for BLAS/LAPACK} {
</span> configure.args-append --with-liblapack=${prefix}/lib/libopenblas.dylib
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant zstd description {Add ZStandard compression support} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append port:zlib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-zstd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-zstd-includes=${prefix}/include
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-zstd-libs=${prefix}/lib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-configure {
file copy ${prefix}/include/ogr_srs_api.h ${worksrcpath}/lib/python/ctypes
file copy ${prefix}/include/ogr_api.h ${worksrcpath}/lib/python/ctypes
</pre><pre style='margin:0'>
</pre>