From 62b073079226dfbe6672a3a888cebd0b188c1e00 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 9 Jun 2021 05:14:47 +0200 Subject: [PATCH] findutils: fix musl bootstrap under some conditions --- srcpkgs/findutils/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/findutils/template b/srcpkgs/findutils/template index c6e225cf4c..b35980a49d 100644 --- a/srcpkgs/findutils/template +++ b/srcpkgs/findutils/template @@ -13,6 +13,11 @@ changelog="https://git.savannah.gnu.org/cgit/findutils.git/plain/NEWS" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=57127b7e97d91282c6ace556378d5455a9509898297e46e10443016ea1387164 +if [ "$XBPS_TARGET_LIBC" = musl ]; then + export ac_cv_lib_error_at_line=no + export ac_cv_header_sys_cdefs_h=no +fi + alternatives=" xargs:xargs:/usr/bin/gxargs xargs:xargs.1:/usr/share/man/man1/gxargs.1