diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py index 0fc438efcc..b4f24e1a8c 100644 --- a/var/spack/repos/builtin/packages/curl/package.py +++ b/var/spack/repos/builtin/packages/curl/package.py @@ -286,9 +286,6 @@ class Curl(NMakePackage, AutotoolsPackage): depends_on("libssh", when="+libssh") depends_on("krb5", when="+gssapi") - # curl queries pkgconfig for openssl compilation flags - depends_on("pkgconfig", type="build") - # https://github.com/curl/curl/pull/9054 patch("easy-lock-sched-header.patch", when="@7.84.0") @@ -446,7 +443,7 @@ def nmake_args(self): args.append("WITH_PREFIX=%s" % self.prefix + "\\") return args - def install(self, spec, prefix): + def install(self, pkg, spec, prefix): # Spack's env CC and CXX values will cause an error # if there is a path in the space, and escaping with # double quotes raises a syntax issues, instead