nettle: remove openssl dep (#43770)

This commit is contained in:
Harmen Stoppels 2024-04-23 07:44:15 +02:00 committed by GitHub
parent 6be07da201
commit d210425eef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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"]