diff options
Diffstat (limited to 'var/spack/repos/builtin/packages/libmatheval/package.py')
-rw-r--r-- | var/spack/repos/builtin/packages/libmatheval/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libmatheval/package.py b/var/spack/repos/builtin/packages/libmatheval/package.py index 3b9acc92a8..223f6b4a8e 100644 --- a/var/spack/repos/builtin/packages/libmatheval/package.py +++ b/var/spack/repos/builtin/packages/libmatheval/package.py @@ -40,3 +40,10 @@ class Libmatheval(AutotoolsPackage): # Only needed for unit tests, but configure crashes without it depends_on('guile', type='build') + + # guile 2.0 provides a deprecated interface for the unit test using guile + patch('guile-2.0.patch', when='^guile@2.0') + + # guile 2.2 does not support deprecated functions any longer + # the patch skips the unit tests + patch('guile-2.2.patch', when='^guile@2.2:') |