summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/curl
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-08-15 13:47:07 +0200
committerGitHub <noreply@github.com>2022-08-15 13:47:07 +0200
commitf7736ddfc0abd98ed28bc4f7e78dec181f87d476 (patch)
tree69bcf27a802e8419cc62596c0fbeec4ed1012388 /var/spack/repos/builtin/packages/curl
parentf52d59cd8674d897dcc8cfe7c9045c19fcb06ec6 (diff)
downloadspack-f7736ddfc0abd98ed28bc4f7e78dec181f87d476.tar.gz
spack-f7736ddfc0abd98ed28bc4f7e78dec181f87d476.tar.bz2
spack-f7736ddfc0abd98ed28bc4f7e78dec181f87d476.tar.xz
spack-f7736ddfc0abd98ed28bc4f7e78dec181f87d476.zip
curl: --with-pkg=prefix instead of --with-pkg (#31816)
Diffstat (limited to 'var/spack/repos/builtin/packages/curl')
-rw-r--r--var/spack/repos/builtin/packages/curl/package.py18
1 files changed, 5 insertions, 13 deletions
diff --git a/var/spack/repos/builtin/packages/curl/package.py b/var/spack/repos/builtin/packages/curl/package.py
index ba9b975aa1..f600d50127 100644
--- a/var/spack/repos/builtin/packages/curl/package.py
+++ b/var/spack/repos/builtin/packages/curl/package.py
@@ -81,7 +81,7 @@ class Curl(AutotoolsPackage):
)
variant("nghttp2", default=False, description="build nghttp2 library (requires C++11)")
variant("libssh2", default=False, description="enable libssh2 support")
- variant("libssh", default=False, description="enable libssh support") # , when='7.58:')
+ variant("libssh", default=False, description="enable libssh support", when="@7.58:")
variant("gssapi", default=False, description="enable Kerberos support")
variant("librtmp", default=False, description="enable Rtmp support")
variant("ldap", default=False, description="enable ldap support")
@@ -94,14 +94,6 @@ class Curl(AutotoolsPackage):
description="Build shared libs, static libs or both",
)
- conflicts("+libssh", when="@:7.57")
- # on OSX and --with-ssh the configure steps fails with
- # one or more libs available at link-time are not available run-time
- # unless the libssh are installed externally (e.g. via homebrew), even
- # though spack isn't supposed to know about such a libssh installation.
- # C.f. https://github.com/spack/spack/issues/7777
- conflicts("platform=darwin", when="+libssh2")
- conflicts("platform=darwin", when="+libssh")
conflicts("platform=cray", when="tls=secure_transport", msg="Only supported on macOS")
conflicts("platform=linux", when="tls=secure_transport", msg="Only supported on macOS")
@@ -194,11 +186,11 @@ class Curl(AutotoolsPackage):
args.append("--without-gssapi")
args += self.with_or_without("tls")
- args += self.with_or_without("libidn2", "prefix")
+ args += self.with_or_without("libidn2", activation_value="prefix")
args += self.with_or_without("librtmp")
- args += self.with_or_without("nghttp2")
- args += self.with_or_without("libssh2")
- args += self.with_or_without("libssh")
+ args += self.with_or_without("nghttp2", activation_value="prefix")
+ args += self.with_or_without("libssh2", activation_value="prefix")
+ args += self.with_or_without("libssh", activation_value="prefix")
args += self.enable_or_disable("ldap")
return args