summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/ape/package.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/ape/package.py b/var/spack/repos/builtin/packages/ape/package.py
index bf9f895e68..343b1a1185 100644
--- a/var/spack/repos/builtin/packages/ape/package.py
+++ b/var/spack/repos/builtin/packages/ape/package.py
@@ -16,7 +16,8 @@ class Ape(Package):
version('2.2.1', sha256='1bdb7f987fde81f8a5f335da6b59fa884e6d185d4a0995c90fde7c04376ce9e3')
depends_on('gsl')
- depends_on('libxc@:2.2.2')
+ depends_on('libxc@:4.999', when='@2.3.0:')
+ depends_on('libxc@:2.2.2', when='@:2.2.1')
def install(self, spec, prefix):
args = []