summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/kvtree/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/kvtree/package.py b/var/spack/repos/builtin/packages/kvtree/package.py
index f5eef66e71..3ac314613f 100644
--- a/var/spack/repos/builtin/packages/kvtree/package.py
+++ b/var/spack/repos/builtin/packages/kvtree/package.py
@@ -39,7 +39,7 @@ class Kvtree(CMakePackage):
args.append("-DMPI=OFF")
args.append('-DKVTREE_FILE_LOCK={0}'.format(
- spec.variants['file_lock'].value.upper()))
+ self.spec.variants['file_lock'].value.upper()))
if self.spec.satisfies('platform=cray'):
args.append("-DKVTREE_LINK_STATIC=ON")