Adding some fixes to packages that use configure_args function without setting spec set or directly referencing it (#2868)

* Adding 'self.' to the spec call for configure_args

* Updating this to set spec to self.spec

* More updates to the configure_args spec calls

* Another spec issue

* Another spec issue.

* And another spec issue

* Switching cmor back to self.spec.
This commit is contained in:
Quinn
2017-01-19 08:26:39 -06:00
committed by Todd Gamblin
parent 4dad5aab84
commit f511f7b558
4 changed files with 4 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ class Emacs(AutotoolsPackage):
depends_on('gtkplus+X', when='+X toolkit=gtk')
def configure_args(self):
spec = self.spec
args = []
toolkit = spec.variants['toolkit'].value
if '+X' in spec: