m4: fix musl source bootstrap under some conditions

This commit is contained in:
q66 2021-06-09 05:16:13 +02:00
parent c1ca4cb58c
commit 4b6c115f47
1 changed files with 5 additions and 0 deletions

View File

@ -14,6 +14,11 @@ maintainer="Enno Boland <gottox@voidlinux.org>"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=f2c1e86ca0a404ff281631bdc8377638992744b175afb806e25871a24a934e07
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
export ac_cv_header_sys_cdefs_h=no
fi
if [ -z "$CHROOT_READY" ]; then
# Disable makeinfo unconditionally
# texinfo is defaulted to utf-8 now and the file is in iso-8859-1