sed: Fix musl checks.

Closes #9353.
This commit is contained in:
maxice8 2017-11-20 02:04:53 -02:00 committed by Enno Boland
parent 1268670c65
commit 3041583f8d
1 changed files with 8 additions and 0 deletions

View File

@ -18,3 +18,11 @@ post_extract() {
sed -i 's|\(^doc/sed.1:\).*$|\1|' Makefile.in
}
pre_check() {
case "$XBPS_TARGET_MACHINE" in
*-musl* )
# Disable locale tests that fail on musl
sed -i '/test-localename$(EXEEXT)/d' gnulib-tests/Makefile
sed -i '/test-mbrtowc5.sh/d' gnulib-tests/Makefile ;;
esac
}