common/build-style/meson: move PYTHONUNBUFFERED to environment/build-style

This commit is contained in:
classabbyamp 2024-08-09 13:43:08 -04:00 committed by classabbyamp
parent be2c8a440e
commit 69fa5df28f
2 changed files with 4 additions and 3 deletions

View File

@ -20,7 +20,7 @@ do_configure() {
export AR="gcc-ar" export AR="gcc-ar"
# unbuffered output for continuous logging # unbuffered output for continuous logging
PYTHONUNBUFFERED=1 ${meson_cmd} setup \ ${meson_cmd} setup \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${XBPS_TARGET_WORDSIZE} \ --libdir=/usr/lib${XBPS_TARGET_WORDSIZE} \
--libexecdir=/usr/libexec \ --libexecdir=/usr/libexec \
@ -55,7 +55,6 @@ do_check() {
: ${make_check_target:=test} : ${make_check_target:=test}
: ${meson_builddir:=build} : ${meson_builddir:=build}
export PYTHONUNBUFFERED=1
${make_check_pre} ${make_cmd} ${make_check_target} -C ${meson_builddir} ${makejobs} ${make_check_args} ${make_check_pre} ${make_cmd} ${make_check_target} -C ${meson_builddir} ${makejobs} ${make_check_args}
} }
@ -64,5 +63,5 @@ do_install() {
: ${make_install_target:=install} : ${make_install_target:=install}
: ${meson_builddir:=build} : ${meson_builddir:=build}
env PYTHONUNBUFFERED=1 DESTDIR=${DESTDIR} ${make_cmd} -C ${meson_builddir} ${make_install_args} ${make_install_target} DESTDIR=${DESTDIR} ${make_cmd} -C ${meson_builddir} ${make_install_args} ${make_install_target}
} }

View File

@ -1,2 +1,4 @@
hostmakedepends+=" meson" hostmakedepends+=" meson"
build_helper+=" meson" build_helper+=" meson"
export PYTHONUNBUFFERED=1