subversion: spec.satisfies('^swig') does not work; replace spec.satisfies by "in spec" (#3662)
This commit is contained in:
parent
a8bd69f01c
commit
04f20320f4
@ -69,9 +69,9 @@ def install(self, spec, prefix):
|
|||||||
options.append('--with-sqlite=%s' % spec['sqlite'].prefix)
|
options.append('--with-sqlite=%s' % spec['sqlite'].prefix)
|
||||||
options.append('--with-serf=%s' % spec['serf'].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)
|
options.append('--with-swig=%s' % spec['swig'].prefix)
|
||||||
if spec.satisfies('+perl'):
|
if 'perl' in spec:
|
||||||
options.append(
|
options.append(
|
||||||
'PERL=%s' % join_path(spec['perl'].prefix.bin, 'perl'))
|
'PERL=%s' % join_path(spec['perl'].prefix.bin, 'perl'))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user