summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/subversion/package.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/subversion/package.py b/var/spack/repos/builtin/packages/subversion/package.py
index c8fa3271f1..c7057a51df 100644
--- a/var/spack/repos/builtin/packages/subversion/package.py
+++ b/var/spack/repos/builtin/packages/subversion/package.py
@@ -69,9 +69,9 @@ class Subversion(Package):
options.append('--with-sqlite=%s' % spec['sqlite'].prefix)
options.append('--with-serf=%s' % spec['serf'].prefix)
- if spec.satisfies('^swig'):
+ if 'swig' in spec:
options.append('--with-swig=%s' % spec['swig'].prefix)
- if spec.satisfies('+perl'):
+ if 'perl' in spec:
options.append(
'PERL=%s' % join_path(spec['perl'].prefix.bin, 'perl'))