Skip to content

Commit

Permalink
Merge pull request #9 from feelpp/6-libzip-links-with-external-libs-f…
Browse files Browse the repository at this point in the history
…ound-on-host

rm space and rename variant bz2 to bzip2
  • Loading branch information
prudhomm authored Oct 27, 2024
2 parents 74688ee + 79f1c0d commit 9b202ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions var/spack/repos/builtin/packages/libzip/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ def url_for_version(self, version):
# Required dependencies
with when("build_system=cmake"):
variant("gnutls", default=True, description="Enable gnutls support")
variant("bz2", default=True, description="Enable bzip2 support")
variant("bzip2", default=True, description="Enable bzip2 support")
variant("lzma", default=True, description="Enable lzma support")
variant("openssl", default=True, description="Enable openssl support")
variant("zstd", default=True, description="Enable zstd support")
variant("mbedtls", default=True, description="Enable mbedtls support")
depends_on("gnutls", when="+gnutls")
depends_on("bzip2", when="+bz2")
depends_on("bzip2", when="+bzip2")
depends_on("lzma", when="+lzma")
depends_on("openssl", when="+openssl")
depends_on("zstd", when="+zstd")
Expand All @@ -80,7 +80,7 @@ def headers(self):
class CMakeBuilder(spack.build_systems.cmake.CMakeBuilder):
def cmake_args(self):
return [
self.define_from_variant("ENABLE_GNUTLS ", "gnutls"),
self.define_from_variant("ENABLE_GNUTLS", "gnutls"),
self.define_from_variant("ENABLE_MBEDTLS", "mbedtls"),
self.define_from_variant("ENABLE_OPENSSL", "openssl"),
self.define_from_variant("ENABLE_BZIP2", "bz2"),
Expand Down

0 comments on commit 9b202ae

Please sign in to comment.