diff --git a/srcpkgs/base-system/template b/srcpkgs/base-system/template index d5f950788ca..795506c13bc 100644 --- a/srcpkgs/base-system/template +++ b/srcpkgs/base-system/template @@ -9,7 +9,7 @@ maintainer="Juan RP " license="Public domain" depends=" - base-files>=0.77 ncurses coreutils findutils glibc-locales diffutils + base-files>=0.77 ncurses coreutils findutils diffutils dash bash grep gzip file sed gawk less util-linux which tar man-pages openbsd-man shadow e2fsprogs btrfs-progs xfsprogs f2fs-tools dosfstools psmisc procps-ng tzdata pciutils iana-etc openssh dhcpcd @@ -17,6 +17,10 @@ depends=" void-artwork traceroute ethtool kmod $(vopt_if systemd systemd 'eudev runit-void')" +case "$XBPS_TARGET_MACHINE" in + *-musl);; + *) depends+=" glib-locales";; +esac case "$XBPS_TARGET_MACHINE" in i686) depends+=" linux";; x86_64) depends+=" linux";;