sed: fix musl source bootstrap under some conditions

This commit is contained in:
q66 2021-06-09 05:09:55 +02:00
parent a2783c719c
commit 170144419e
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ homepage="http://www.gnu.org/software/sed"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f79b0cfea71b37a8eeec8490db6c5f7ae7719c35587f21edb0617f370eeff633
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
export ac_cv_header_sys_cdefs_h=no
fi
post_extract() {
# dont regenerate the man page with help2man...
sed -i 's|\(^doc/sed.1:\).*$|\1|' Makefile.in