summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2024-04-23 07:44:15 +0200
committerGitHub <noreply@github.com>2024-04-23 07:44:15 +0200
commitd210425eef832c10a6c74365068a3262d20b576b (patch)
tree553dc137e7661c0e00787e69f50ddf051d8e9ce9 /var
parent6be07da201628e9fe464142fb6ed05bfe46676b0 (diff)
downloadspack-d210425eef832c10a6c74365068a3262d20b576b.tar.gz
spack-d210425eef832c10a6c74365068a3262d20b576b.tar.bz2
spack-d210425eef832c10a6c74365068a3262d20b576b.tar.xz
spack-d210425eef832c10a6c74365068a3262d20b576b.zip
nettle: remove openssl dep (#43770)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/nettle/package.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/nettle/package.py b/var/spack/repos/builtin/packages/nettle/package.py
index 1ebcd3fc0d..a0262fab28 100644
--- a/var/spack/repos/builtin/packages/nettle/package.py
+++ b/var/spack/repos/builtin/packages/nettle/package.py
@@ -26,7 +26,11 @@ class Nettle(AutotoolsPackage, GNUMirrorPackage):
depends_on("gmp")
depends_on("m4", type="build")
- depends_on("openssl")
+
+ def flag_handler(self, name, flags):
+ if name == "cflags":
+ flags.append(self.compiler.c99_flag)
+ return (flags, None, None)
def configure_args(self):
- return ["CFLAGS={0}".format(self.compiler.c99_flag)]
+ return ["--disable-openssl"]