fix perl libxcrypt.so dep (#33846)

Detected using https://github.com/spack/spack/pull/28109
This commit is contained in:
Harmen Stoppels 2022-11-14 18:56:43 +01:00 committed by GitHub
parent 2913f8b42b
commit bf1b2a828c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,6 +110,7 @@ class Perl(Package): # Perl doesn't use Autotools, it should subclass Package
depends_on("zlib")
# :5.24.1 needs zlib@:1.2.8: https://rt.cpan.org/Public/Bug/Display.html?id=120134
depends_on("zlib@:1.2.8", when="@5.20.3:5.24.1")
depends_on("libxcrypt") # libcrypt.so.1
conflicts("@5.34.1:", when="%msvc@:19.29.30136")
# there has been a long fixed issue with 5.22.0 with regard to the ccflags