summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/m4/m4-1.4.19.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/m4/m4-1.4.19.inc')
-rw-r--r--meta/recipes-devtools/m4/m4-1.4.19.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-devtools/m4/m4-1.4.19.inc b/meta/recipes-devtools/m4/m4-1.4.19.inc
index 3b4303b7fd..fcc9e58270 100644
--- a/meta/recipes-devtools/m4/m4-1.4.19.inc
+++ b/meta/recipes-devtools/m4/m4-1.4.19.inc
@@ -40,8 +40,6 @@ do_install_ptest() {
40 cp -r ${B}/tests ${D}${PTEST_PATH} 40 cp -r ${B}/tests ${D}${PTEST_PATH}
41 cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/ 41 cp -r ${S}/tests/* ${D}${PTEST_PATH}/tests/
42 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile 42 sed -i '/^Makefile:/c Makefile:' ${D}${PTEST_PATH}/tests/Makefile
43 sed -i -e "s;LOCALE_FR='fr_FR';LOCALE_FR='fr_FR.iso88591';g" \
44 -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile
45 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {} 43 find ${D}${PTEST_PATH} -type f -name *.[hoc] | xargs -i rm {}
46 cp ${S}/build-aux/update-copyright ${D}${PTEST_PATH}/tests/ 44 cp ${S}/build-aux/update-copyright ${D}${PTEST_PATH}/tests/
47 sed -i 's;update-copyright;./update-copyright;g' ${D}${PTEST_PATH}/tests/test-update-copyright.sh 45 sed -i 's;update-copyright;./update-copyright;g' ${D}${PTEST_PATH}/tests/test-update-copyright.sh
@@ -52,6 +50,10 @@ do_install_ptest() {
52 ln -s ptest ${D}${libdir}/${BPN}/${BP} 50 ln -s ptest ${D}${libdir}/${BPN}/${BP}
53} 51}
54 52
53do_install_ptest:append:libc-glibc() {
54 sed -i -e "s;LOCALE_FR='fr_FR';LOCALE_FR='fr_FR.iso88591';g" \
55 -e "s;LOCALE_FR_UTF8='none';LOCALE_FR_UTF8='fr_FR.utf8';g" ${D}${PTEST_PATH}/tests/Makefile
56}
55 57
56RDEPENDS:${PN}-ptest += "make coreutils diffutils bash" 58RDEPENDS:${PN}-ptest += "make coreutils diffutils bash"
57RDEPENDS:${PN}-ptest:append:libc-glibc = "\ 59RDEPENDS:${PN}-ptest:append:libc-glibc = "\