diff options
| author | wangmy <wangmy@fujitsu.com> | 2021-06-15 10:12:14 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-06-17 00:07:05 +0100 |
| commit | 3f51d9e627503d6e744dbf327106940d1b3020c0 (patch) | |
| tree | 4fc9f3c299681f5eb79c53803353c13e4adfa925 /meta/recipes-devtools/m4/m4-1.4.19.inc | |
| parent | 3d76fca34b3ff2984b06560faa8399515d19b6e2 (diff) | |
| download | poky-3f51d9e627503d6e744dbf327106940d1b3020c0.tar.gz | |
m4: upgrade 1.4.18 -> 1.4.19
0001-Unset-need_charset_alias-when-building-for-musl.patch
0001-c-stack-stop-using-SIGSTKSZ.patch
0001-test-getopt-posix-fix.patch
m4-1.4.18-glibc-change-work-around.patch
deleted since they are included in 1.4.19
refresh ac_config_links.patch
License-update: URL of license changed
(From OE-Core rev: c61358d84d83f0fbd8b2fbe2659ed547e0c046a4)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/m4/m4-1.4.19.inc')
| -rw-r--r-- | meta/recipes-devtools/m4/m4-1.4.19.inc | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/meta/recipes-devtools/m4/m4-1.4.19.inc b/meta/recipes-devtools/m4/m4-1.4.19.inc new file mode 100644 index 0000000000..c28e301d50 --- /dev/null +++ b/meta/recipes-devtools/m4/m4-1.4.19.inc | |||
| @@ -0,0 +1,59 @@ | |||
| 1 | SUMMARY = "Traditional Unix macro processor" | ||
| 2 | HOMEPAGE = "https://www.gnu.org/software/m4/m4.html" | ||
| 3 | DESCRIPTION = "GNU m4 is an implementation of the traditional Unix macro processor. It is mostly SVR4 \ | ||
| 4 | compatible although it has some extensions (for example, handling more than 9 positional parameters to macros). \ | ||
| 5 | GNU M4 also has built-in functions for including files, running shell commands, doing arithmetic, etc." | ||
| 6 | |||
| 7 | inherit autotools texinfo ptest gettext | ||
| 8 | |||
| 9 | SRC_URI = "${GNU_MIRROR}/m4/m4-${PV}.tar.gz \ | ||
| 10 | file://ac_config_links.patch \ | ||
| 11 | " | ||
| 12 | SRC_URI_append_class-target = " file://run-ptest \ | ||
| 13 | file://serial-tests-config.patch \ | ||
| 14 | " | ||
| 15 | |||
| 16 | SRC_URI[md5sum] = "f4a2b0284d80353b995f8ef2385ed73c" | ||
| 17 | SRC_URI[sha256sum] = "3be4a26d825ffdfda52a56fc43246456989a3630093cced3fbddf4771ee58a70" | ||
| 18 | |||
| 19 | LICENSE = "GPLv3" | ||
| 20 | |||
| 21 | LIC_FILES_CHKSUM = "file://COPYING;md5=1ebbd3e34237af26da5dc08a4e440464\ | ||
| 22 | file://examples/COPYING;md5=4031593b2166d6c47cae282d944a7ede" | ||
| 23 | |||
| 24 | # Fix "Argument list too long" error when len(TMPDIR) = 410 | ||
| 25 | acpaths = "-I ./m4" | ||
| 26 | |||
| 27 | EXTRA_OECONF += "--without-libsigsegv-prefix" | ||
| 28 | |||
| 29 | EXTRA_OEMAKE += "'infodir=${infodir}'" | ||
| 30 | |||
| 31 | do_compile_ptest() { | ||
| 32 | cd ${B}/tests | ||
| 33 | sed -i '/^buildtest-TESTS: /c buildtest-TESTS: $(TESTS) $(check_LIBRARIES) $(check_PROGRAMS)' Makefile | ||
| 34 | oe_runmake buildtest-TESTS | ||
| 35 | } | ||
| 36 | |||
| 37 | do_install_ptest() { | ||
| 38 | cp -r ${B}/tests ${D}${PTEST_PATH} | ||
| 39 | cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/ | ||
| 40 | sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile | ||
| 41 | sed -i -e "s;LOCALE_FR='fr_FR';LOCALE_FR='fr_FR.iso88591';g" \ | ||
| 42 | -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile | ||
| 43 | find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} | ||
| 44 | cp ${S}/build-aux/update-copyright ${D}${PTEST_PATH}/tests/ | ||
| 45 | sed -i 's;update-copyright;./update-copyright;g' ${D}${PTEST_PATH}/tests/test-update-copyright.sh | ||
| 46 | chmod 0755 ${D}${PTEST_PATH}/tests/test-mbrtowc-w32-1.sh ${D}${PTEST_PATH}/tests/test-spawn-pipe-main \ | ||
| 47 | ${D}${PTEST_PATH}/tests/test-spawn-pipe-child ${D}${PTEST_PATH}/tests/test-version-etc \ | ||
| 48 | ${D}${PTEST_PATH}/tests/test-xalloc-die | ||
| 49 | } | ||
| 50 | |||
| 51 | |||
| 52 | RDEPENDS_${PN}-ptest += "make coreutils diffutils" | ||
| 53 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | ||
| 54 | locale-base-fr-fr.iso-8859-1 \ | ||
| 55 | " | ||
| 56 | |||
| 57 | INSANE_SKIP_${PN}-ptest += "ldflags" | ||
| 58 | INSANE_SKIP_${PN}-ptest += "rpaths" | ||
| 59 | |||
