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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user