Mercurial > gub
view gub/specs/patch.py @ 6341:b49f865441a4
Fix some URLs
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Sat, 07 Feb 2015 18:22:20 +0900 |
parents | 7aee893b7746 |
children |
line wrap: on
line source
from gub import tools class Patch__tools (tools.AutoBuild): # source = 'http://ftp.gnu.org/pub/gnu/patch/patch-2.5.4.tar.gz' # source = 'ftp://alpha.gnu.org/pub/gnu/diffutils/patch-2.5.9.tar.gz' # ugh, openoffice the ooo-build flavour needs the latest patch with # additional [SUSE] patches to not barf on all CRLF problems. # Taken from the Ibex: apt-get --download source patch source = 'http://lilypond.org/download/gub-sources/patch/patch-2.5.9-5.tar.gz' configure_variables = '' destdir_install_broken = True def configure (self): tools.AutoBuild.configure (self) if 'freebsd' in self.settings.build_architecture: self.file_sub ([('^#define HAVE_SETMODE 1', '/* #undef HAVE_SETMODE */')], '%(builddir)s/config.h')