Automake requires Thread::Queue, but it is only provided with in perl+threads. (#34076)

Update the depends_on("perl") to depends_on("perl+threads").

This and #34074 is needed to properly handle e.g. the perl-Thread-Queue
rpm package:

It may not be installed on RedHat-based hosts, which can lead to automake
build failures when `spack external find perl` or `spack external find --all`
was used to use the system-provided perl install.
This commit is contained in:
Bernhard Kaindl 2022-12-17 01:11:11 +01:00 committed by GitHub
parent 1cc78dac38
commit 9817593c1c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ class Automake(AutotoolsPackage, GNUMirrorPackage):
version("1.11.6", sha256="53dbf1945401c43f4ce19c1971baecdbf8bc32e0f37fa3f49fe7b6992d0d2030") version("1.11.6", sha256="53dbf1945401c43f4ce19c1971baecdbf8bc32e0f37fa3f49fe7b6992d0d2030")
depends_on("autoconf", type="build") depends_on("autoconf", type="build")
depends_on("perl", type=("build", "run")) depends_on("perl+threads", type=("build", "run"))
build_directory = "spack-build" build_directory = "spack-build"