chroot-grep: fix musl bootstrap under some conditions

This commit is contained in:
q66 2021-06-09 05:47:26 +02:00
parent 0678ef84c4
commit c7c72b5de1
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ checksum=b960541c499619efd6afe1fa795402e4733c8e11ebf9fafccc0bb4bccdc5b514
conflicts="grep>=0" conflicts="grep>=0"
provides="grep-${version}_${revision}" provides="grep-${version}_${revision}"
if [ "$XBPS_TARGET_LIBC" = musl ]; then
export ac_cv_lib_error_at_line=no
export ac_cv_header_sys_cdefs_h=no
fi
post_install() { post_install() {
rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man rm -rf ${DESTDIR}/usr/share/info ${DESTDIR}/usr/share/man
} }