summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilton Woods <miltonjwoods@gmail.com>2017-04-08 04:03:57 +1000
committerAdam J. Stewart <ajstewart426@gmail.com>2017-04-07 13:03:57 -0500
commit04f20320f48283af57549d5e7703871fac54d06d (patch)
tree8b867a808e1347eb10228ee377e9279c6c3bad4d
parenta8bd69f01ce74f1c07bda451a4b1ad86fdfa8a94 (diff)
downloadspack-04f20320f48283af57549d5e7703871fac54d06d.tar.gz
spack-04f20320f48283af57549d5e7703871fac54d06d.tar.bz2
spack-04f20320f48283af57549d5e7703871fac54d06d.tar.xz
spack-04f20320f48283af57549d5e7703871fac54d06d.zip
subversion: spec.satisfies('^swig') does not work; replace spec.satisfies by "in spec" (#3662)
-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'))