changeset 5493:fba5536cc30f

Autoconf: depend on perl. Fixes build in minimal etch debootstrap.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Thu, 20 Aug 2009 17:32:28 +0200
parents 35afc677a3a9
children a04ae0bb4494
files gub/specs/autoconf.py gub/target.py gub/tools.py
diffstat 3 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/autoconf.py	Thu Aug 20 15:53:37 2009 +0200
+++ b/gub/specs/autoconf.py	Thu Aug 20 17:32:28 2009 +0200
@@ -6,9 +6,13 @@
 class Autoconf__tools (tools.AutoBuild):
     source = 'ftp://ftp.gnu.org/pub/gnu/autoconf/autoconf-2.63.tar.gz'
     def _get_build_dependencies (self):
-        return ['m4']
+        return [
+            'm4',
+            'perl',
+            ]
     def force_sequential_build (self):
         return True
     def makeflags (self):
         return ('PERL5LIB=%(tools_prefix)s/lib/perl5/5.10.0'
+        	+ ':%(tools_prefix)s/lib/perl5/5.10.0/%(build_architecture)s'
                 + misc.append_path (os.environ.get ('PERL5LIB', '')))
--- a/gub/target.py	Thu Aug 20 15:53:37 2009 +0200
+++ b/gub/target.py	Thu Aug 20 17:32:28 2009 +0200
@@ -149,6 +149,7 @@
             'PKG_CONFIG_PATH': '%(system_prefix)s/lib/pkgconfig',
             'PATH': '%(cross_prefix)s/bin:%(tools_prefix)s/bin:%(tools_cross_prefix)s/bin:' + os.environ['PATH'],
             'PERL5LIB': 'foo:%(tools_prefix)s/lib/perl5/5.10.0'
+            + ':%(tools_prefix)s/lib/perl5/5.10.0/%(build_architecture)s'
             + ':%(tools_prefix)s/share/autoconf'
             + misc.append_path (os.environ.get ('PERL5LIB', '')),
             'PKG_CONFIG': '''pkg-config \
--- a/gub/tools.py	Thu Aug 20 15:53:37 2009 +0200
+++ b/gub/tools.py	Thu Aug 20 17:32:28 2009 +0200
@@ -182,6 +182,7 @@
             + misc.append_path (os.environ.get ('LIBRARY_PATH', '')),
             'PATH': '%(system_prefix)s/bin:%(system_cross_prefix)s/bin:' + os.environ['PATH'],
             'PERL5LIB': 'foo:%(tools_prefix)s/lib/perl5/5.10.0'
+            + ':%(tools_prefix)s/lib/perl5/5.10.0/%(build_architecture)s'
             + ':%(tools_prefix)s/share/autoconf'
             + misc.append_path (os.environ.get ('PERL5LIB', '')),
         }