# HG changeset patch # User Han-Wen Nienhuys # Date 1179548644 10800 # Node ID b8a30307b108edda28caec2762c8c6bc24035593 # Parent 5b3bd5e06c63d376b05f097024a6b5e82104134b more with_template() fixes. diff -r 5b3bd5e06c63 -r b8a30307b108 gub/specs/cygwin/cross/binutils.py --- 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 (''' diff -r 5b3bd5e06c63 -r b8a30307b108 gub/specs/darwin/cross/gcc.py --- 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')], diff -r 5b3bd5e06c63 -r b8a30307b108 gub/specs/freebsd-runtime.py --- 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):