diff --git a/srcpkgs/diffutils/template b/srcpkgs/diffutils/template index d07aac1ad2e..80186106e7d 100644 --- a/srcpkgs/diffutils/template +++ b/srcpkgs/diffutils/template @@ -13,6 +13,11 @@ homepage="https://www.gnu.org/software/diffutils" distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.xz" checksum=b3a7a6221c3dc916085f0d205abf6b8e1ba443d4dd965118da364a1dc1cb3a26 +if [ "$XBPS_TARGET_LIBC" = musl ]; then + export ac_cv_lib_error_at_line=no + export ac_cv_header_sys_cdefs_h=no +fi + if [ "$CROSS_BUILD" ]; then # Tell configure we have GNU getopt configure_args+=" gl_cv_func_getopt_gnu=yes"