gawk: fix tests.

Closes #9352.
This commit is contained in:
maxice8 2017-11-20 02:49:46 -02:00 committed by Enno Boland
parent c8b23329d7
commit 118979dc10
1 changed files with 9 additions and 0 deletions

View File

@ -22,6 +22,15 @@ pre_configure() {
# Create symlinks for bins and manpages.
sed -i -e "s|\$(LN)|\$(LN_S)|g" Makefile.in doc/Makefile.in
}
pre_check() {
sed -i 's/done | more/done/g' test/Makefile
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i '/testext/d' test/Makefile
sed -i '/clos1way6/d' test/Makefile ;;
esac
}
post_install() {
rm ${DESTDIR}/usr/bin/awk
}