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:
parent
1cc78dac38
commit
9817593c1c
@ -24,7 +24,7 @@ class Automake(AutotoolsPackage, GNUMirrorPackage):
|
||||
version("1.11.6", sha256="53dbf1945401c43f4ce19c1971baecdbf8bc32e0f37fa3f49fe7b6992d0d2030")
|
||||
|
||||
depends_on("autoconf", type="build")
|
||||
depends_on("perl", type=("build", "run"))
|
||||
depends_on("perl+threads", type=("build", "run"))
|
||||
|
||||
build_directory = "spack-build"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user