qt: Qt 5.15.0 requires OpenSSL 1.1.1 (#30754)

Fixes qt configure errors with external openssl on older systems (rhel7)

See
efc02f9cc3/dist/changes-5.15.0 (L346)

This means for now on, `qt ^openssl@1.0` gets you `qt@5.15.4 ~ssl`:
clingo chooses latest qt version **but disables ssl support**.
This commit is contained in:
Jordan Galby 2022-05-20 18:24:30 +02:00 committed by GitHub
parent ee04a1ab0b
commit 0b0920bc90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -176,14 +176,17 @@ class Qt(Package):
depends_on("zlib")
depends_on("freetype", when='+gui')
depends_on("gtkplus", when='+gtk')
depends_on("openssl", when='+ssl')
depends_on("sqlite+column_metadata", when='+sql', type=('build', 'run'))
depends_on("libpng@1.2.57", when='@3')
depends_on("libsm", when='@3')
depends_on("pcre+multibyte", when='@5.0:5.8')
depends_on("inputproto", when='@:5.8')
depends_on("openssl@:1.0", when='@4:5.9+ssl')
with when('+ssl'):
depends_on("openssl")
depends_on("openssl@:1.0", when='@4:5.9')
depends_on("openssl@1.1.1:", when='@5.15.0:')
depends_on("glib", when='@4:')
depends_on("libpng", when='@4:')