summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/swig/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/swig/package.py b/var/spack/repos/builtin/packages/swig/package.py
index c6c9824a63..59a535fb74 100644
--- a/var/spack/repos/builtin/packages/swig/package.py
+++ b/var/spack/repos/builtin/packages/swig/package.py
@@ -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'