From 0d1c4f95c4c2d2d7c1a01f6a46502b7c49c06647 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucio=20Andr=C3=A9s=20Illanes=20Albornoz?= Date: Thu, 12 Mar 2020 08:56:34 +0000 Subject: Reduce awk(1), grep(1), seq(1), and stat(1) usage. subr/build_init.subr:buildp_init_files(): replace timestamp w/ running total log filename suffix. subr/build_init.subr:buildp_init_prereqs(): ensure sed(1) supports -i option. subr/rtl_complex.subr:rtl_{get_cpu_count,is_newer}(): initial implementation. subr/rtl_string.subr:rtl_match(): initial implementation. --- vars/python3_host.vars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vars/python3_host.vars') diff --git a/vars/python3_host.vars b/vars/python3_host.vars index 55ec443a..07fe489f 100644 --- a/vars/python3_host.vars +++ b/vars/python3_host.vars @@ -7,7 +7,7 @@ pkg_python3_host_fetch_download() { || ! rtl_fileop rm "${PKG_BASE_DIR}/sbpython3"\ || ! rtl_fetch_urls_git "${PKG_BASE_DIR}/build" "sbpython3=${DEFAULT_GITROOT}/python/sbpython3@main"\ || ! rtl_fileop cp "../sbpython3/project/config/cfgdefs.sh" "../sbpython3/project/config/cfgdefs.sh.orig"\ - || ! sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']\+\)'/mb_ncurses_libs='\1 -ltinfow'/" "../sbpython3/project/config/cfgdefs.sh"\ + || ! sed -i"" -e"s/-ltinfo/&w/" -e"s/mb_ncurses_libs='\([^']*\)'/mb_ncurses_libs='\1 -ltinfow'/" "../sbpython3/project/config/cfgdefs.sh"\ || ! sed -i"" -e'108a\ cfgtest_ldflags_append "-L$mb_prefix/lib"' "../sbpython3/project/config/cfgdefs.sh"\ || ! sed -i"" '/^PYCOMPILE_CFLAGS.*+= -std=c99/a\ -- cgit v1.2.3