changeset 3497:b8a30307b108

more with_template() fixes.
author Han-Wen Nienhuys <hanwen@lilypond.org>
date Sat, 19 May 2007 01:24:04 -0300
parents 5b3bd5e06c63
children 4176ddec02c9
files gub/specs/cygwin/cross/binutils.py gub/specs/darwin/cross/gcc.py gub/specs/freebsd-runtime.py
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/gub/specs/cygwin/cross/binutils.py	Fri May 18 10:34:05 2007 -0300
+++ b/gub/specs/cygwin/cross/binutils.py	Sat May 19 01:24:04 2007 -0300
@@ -6,7 +6,7 @@
     def __init__ (self, settings):
         binutils.Binutils.__init__ (self, settings)
         from gub import mirrors
-        self.with (version='2.17', format='bz2', mirror=mirrors.gnu)
+        self.with_template (version='2.17', format='bz2', mirror=mirrors.gnu)
     def makeflags (self):
         from gub import misc
         return misc.join_lines ('''
--- a/gub/specs/darwin/cross/gcc.py	Fri May 18 10:34:05 2007 -0300
+++ b/gub/specs/darwin/cross/gcc.py	Sat May 19 01:24:04 2007 -0300
@@ -6,9 +6,9 @@
         #FIXME: separate-out: darwin-ppc/gcc.py / class Gcc__darwin__powerpc ()
         gcc.Gcc.__init__ (self, settings)
         if self.settings.target_architecture.startswith ("powerpc"):
-            self.with (version='4.1.1', mirror=mirrors.gcc_41, format='bz2')
+            self.with_template (version='4.1.1', mirror=mirrors.gcc_41, format='bz2')
         else:
-            self.with (version='4.2-20070207', mirror=mirrors.gcc_snap,
+            self.with_template (version='4.2-20070207', mirror=mirrors.gcc_snap,
                        format='bz2')
     def patch (self):
         self.file_sub ([('/usr/bin/libtool', '%(cross_prefix)s/bin/%(target_architecture)s-libtool')],
--- a/gub/specs/freebsd-runtime.py	Fri May 18 10:34:05 2007 -0300
+++ b/gub/specs/freebsd-runtime.py	Sat May 19 01:24:04 2007 -0300
@@ -7,7 +7,7 @@
         version = '4.10-2'
         if 0 and settings.target_architecture == 'i686-freebsd6':
             version = '6.1-RELEASE'
-        self. with (version=version, strip_components=0, mirror=mirrors.lilypondorg)
+        self.with_template (version=version, strip_components=0, mirror=mirrors.lilypondorg)
     def untar (self):
         gubb.BinarySpec.untar (self)
     def patch (self):