[jhbuild] fix for supports-non-srcdir-builds in autotools (GNOME bug 671634)



commit abece75a0774e22e6f1bcf18dc09b89e1d9c4378
Author: Marcin Wojdyr <wojdyr gmail com>
Date:   Thu Mar 8 09:57:16 2012 +0000

    fix for supports-non-srcdir-builds in autotools (GNOME bug 671634)
    
    added missing 'instance.'

 jhbuild/modtypes/autotools.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/jhbuild/modtypes/autotools.py b/jhbuild/modtypes/autotools.py
index 6fcdaba..cef3153 100644
--- a/jhbuild/modtypes/autotools.py
+++ b/jhbuild/modtypes/autotools.py
@@ -348,7 +348,8 @@ def parse_autotools(node, config, uri, repositories, default_repo):
         instance.makeinstallargs = makeinstallargs
 
     if node.hasAttribute('supports-non-srcdir-builds'):
-        supports_non_srcdir_builds = (node.getAttribute('supports-non-srcdir-builds') != 'no')
+        instance.supports_non_srcdir_builds = \
+                (node.getAttribute('supports-non-srcdir-builds') != 'no')
     if node.hasAttribute('skip-autogen'):
         skip_autogen = node.getAttribute('skip-autogen')
         if skip_autogen == 'true':



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]