grep: fix musl tests.

Closes #9357.
This commit is contained in:
maxice8 2017-11-20 05:14:41 -02:00 committed by Enno Boland
parent dea2cb550c
commit c8b23329d7

View file

@ -16,3 +16,10 @@ pre_configure() {
autoreconf -fi
}
pre_check() {
case "$XBPS_TARGET_MACHINE" in
*-musl)
# Disable locale tests that fail on musl
sed -i '/test-localename$(EXEEXT)/d' gnulib-tests/Makefile
esac
}