diff --git a/srcpkgs/gawk/template b/srcpkgs/gawk/template index 079d3510090..aa0c34dfd0b 100644 --- a/srcpkgs/gawk/template +++ b/srcpkgs/gawk/template @@ -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 }