diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template index 0a79c2ca2c..b922097b01 100644 --- a/srcpkgs/gawk/template +++ b/srcpkgs/gawk/template @@ -21,6 +21,11 @@ alternatives=" pre_check() { vsed -i 's/done | more/done/g' test/Makefile + # This fixes tests on glibc, relevant tests on musl are disabled + # because the locale command doesn't exist. + vsed -i 's/en_US.ISO-8859-1//' test/localenl.sh + vsed -i '/^LC_ALL=en_US.ISO-8859-1 passed$/d' test/localenl.ok + case "$XBPS_TARGET_MACHINE" in *-musl) vsed -i '/testext/d' test/Makefile