Curl Package: Fixup bugs preventing build on Win (#38757)

This commit is contained in:
John W. Parent 2023-07-06 14:59:42 -04:00 committed by GitHub
parent 28b884ace5
commit 6c325a2246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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