swig: fix older builds on newer platforms by updating config files (#16854)
* swig: revise 'autotools' automated 'config.*' update mechanism to support 'config.sub' and adapt 'swig' accordingly
This commit is contained in:
@@ -43,6 +43,9 @@ class Swig(AutotoolsPackage, SourceforgePackage):
|
||||
depends_on('autoconf', type='build', when=_version)
|
||||
depends_on('automake', type='build', when=_version)
|
||||
depends_on('libtool', type='build', when=_version)
|
||||
# Need newer 'automake' to support newer platforms
|
||||
for _target in ['ppc64le', 'aarch64']:
|
||||
depends_on('automake@1.15:', type='build', when='target={0}:'.format(_target))
|
||||
depends_on('pkgconfig', type='build')
|
||||
|
||||
build_directory = 'spack-build'
|
||||
|
Reference in New Issue
Block a user