diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py index ed67e6a4a4..de91923ecc 100644 --- a/var/spack/repos/builtin/packages/curl/package.py +++ b/var/spack/repos/builtin/packages/curl/package.py @@ -273,7 +273,7 @@ class Curl(NMakePackage, AutotoolsPackage): conflicts("platform=linux", when="tls=secure_transport", msg="Only supported on macOS") depends_on("gnutls", when="tls=gnutls") - depends_on("mbedtls@3: +pic", when="@7.79: tls=mbedtls") + depends_on("mbedtls@2: +pic", when="@7.79: tls=mbedtls") depends_on("mbedtls@:2 +pic", when="@:7.78 tls=mbedtls") depends_on("nss", when="tls=nss") depends_on("openssl", when="tls=openssl")