From 886036d09406844e66510ba13636353df0a9bfb3 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Wed, 30 Oct 2019 16:38:01 +0700 Subject: [PATCH] chroot-git: correct iconv usage on musl --- srcpkgs/chroot-git/template | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/srcpkgs/chroot-git/template b/srcpkgs/chroot-git/template index a733b2e8124..578609243c5 100644 --- a/srcpkgs/chroot-git/template +++ b/srcpkgs/chroot-git/template @@ -1,7 +1,7 @@ # Template file for 'chroot-git' pkgname=chroot-git version=2.23.0 -revision=1 +revision=2 bootstrap=yes wrksrc="git-${version}" build_style=gnu-configure @@ -26,7 +26,10 @@ else fi case "$XBPS_TARGET_MACHINE" in - *-musl) configure_args+=" ac_cv_fread_reads_directories=yes" ;; + *-musl) + configure_args+=" ac_cv_fread_reads_directories=yes" + make_build_args+=" ICONV_OMITS_BOM=Yes" + ;; *) configure_args+=" ac_cv_fread_reads_directories=no" ;; esac