Skip to content

Commit

Permalink
snappy: update to 1.1.9
Browse files Browse the repository at this point in the history
- add new dependency on lz4 to avoid opportunistic linking
  • Loading branch information
reneeotten committed May 22, 2021
1 parent 8f6c443 commit 14620b1
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions archivers/snappy/Portfile
Expand Up @@ -4,18 +4,13 @@ PortSystem 1.0
PortGroup cmake 1.1
PortGroup github 1.0

github.setup google snappy 1.1.8
github.setup google snappy 1.1.9
revision 0
categories archivers
platforms darwin
maintainers nomaintainer
license BSD

# Remove these lines when updating the port to the next version.
master_sites https://github.com/google/snappy/archive/
distname ${version}
worksrcdir ${name}-${version}

description a fast compressor/decompressor

long_description Snappy is a compression/decompression library. It does \
Expand All @@ -31,18 +26,20 @@ long_description Snappy is a compression/decompression library. It does \

homepage https://google.github.io/snappy/

checksums rmd160 a4a8766720094b1eba919a617dfeb91e0bf9b8c2 \
sha256 16b677f07832a612b0836178db7f374e414f94657c138e6993cbfc5dcc58651f \
size 1096137
checksums rmd160 47903b5f83f424dbab2e593ef5a830a5df079d58 \
sha256 9a60cbec2f1911dd811f37f1ffe7269a44ab4fe981af808d253301138a52be21 \
size 1102487

# CMake Error in CMakeLists.txt:
# Target "snappy" requires the language dialect "CXX11" , but CMake does not
# know the compile flags to use to enable it.
compiler.cxx_standard 2011

depends_lib port:lzo2 \
port:zlib
port:zlib \
port:lz4

configure.args-append \
-DBUILD_SHARED_LIBS=ON \
-DSNAPPY_BUILD_TESTS=OFF
-DSNAPPY_BUILD_TESTS=OFF \
-DSNAPPY_BUILD_BENCHMARKS=OFF

0 comments on commit 14620b1

Please sign in to comment.