From 04f20320f48283af57549d5e7703871fac54d06d Mon Sep 17 00:00:00 2001 From: Milton Woods Date: Sat, 8 Apr 2017 04:03:57 +1000 Subject: subversion: spec.satisfies('^swig') does not work; replace spec.satisfies by "in spec" (#3662) --- var/spack/repos/builtin/packages/subversion/package.py | 4 ++-- 1 file 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')) -- cgit v1.2.3-70-g09d2