Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rm space and rename variant bz2 to bzip2 #9

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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