changeset 5523:8686ac7d2539

file: always be bootstrap package; used by install. Fixes debootstrap build.
author Jan Nieuwenhuizen <janneke@gnu.org>
date Fri, 21 Aug 2009 09:14:44 +0200
parents b685562acfe2
children c31c4fab62f5
files gub/cross.py gub/specs/file.py
diffstat 2 files changed, 7 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gub/cross.py	Fri Aug 21 00:54:31 2009 +0200
+++ b/gub/cross.py	Fri Aug 21 09:14:44 2009 +0200
@@ -76,6 +76,7 @@
 #    'tools::binutils',
 #    'tools::gcc',
     'tools::make',
+    'tools::file',
     ]
 
 def set_cross_dependencies (package_object_dict):
@@ -86,7 +87,6 @@
             'tools::coreutils',
             'tools::diff',
             'tools::findutils',
-            'tools::file',
             'tools::gawk',
             'tools::grep',
             'tools::sed',
--- a/gub/specs/file.py	Fri Aug 21 00:54:31 2009 +0200
+++ b/gub/specs/file.py	Fri Aug 21 09:14:44 2009 +0200
@@ -4,7 +4,11 @@
 
 class File__tools (tools.AutoBuild):
     source = 'ftp://ftp.astron.com/pub/file/file-5.03.tar.gz'
+    def _get_build_dependencies (self):
+        return [
+            'zlib',
+            ]
     def configure_command (self):
         return (tools.AutoBuild.configure_command (self)
-                + ''' LDFLAGS='-L%(system_prefix)s/lib %(rpath)s' ''')
-    
+                + ''' LDFLAGS='-L%(system_prefix)s/lib %(rpath)s -Wl,-rpath -Wl,%(system_prefix)s/lib' ''')
+