m4.recipe 738 Bytes
Newer Older
1
2
3
4
5
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python


class Recipe(recipe.Recipe):
    name = 'm4'
Justin Kim's avatar
Justin Kim committed
6
    version = '1.4.18'
7
    licenses = [License.GPLv2]
8
    stype = SourceType.TARBALL
9
    url = 'https://ftp.gnu.org/gnu/m4/m4-%(version)s.tar.xz'
10
    tarball_checksum = 'f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07'
11
    files_bins = ['m4']
12

13
    patches = ['m4/0001-Fix-build-invalid-instruction-on-macOS-10.13.patch',
14
15
               'm4/0001-Undefine-__USE_MINGW_ANSI_STDIO-as-otherwise-stdio.h.patch',
               'm4/0001-m4-compilation-with-glibc-2.28.patch']
16

17
    def prepare(self):
18
        self.configure_options += " --disable-gcc-warnings"
19
        self.append_env('CFLAGS', '-Wno-error=cast-align')