diff options
author | Harmen Stoppels <me@harmenstoppels.nl> | 2024-04-23 07:44:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-23 07:44:15 +0200 |
commit | d210425eef832c10a6c74365068a3262d20b576b (patch) | |
tree | 553dc137e7661c0e00787e69f50ddf051d8e9ce9 /var | |
parent | 6be07da201628e9fe464142fb6ed05bfe46676b0 (diff) | |
download | spack-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.py | 8 |
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"] |