From 0463ac2e4f6f6dc10eb0103c8e3cdb44b8f2b318 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 10 Nov 2014 13:57:30 +0100 Subject: [PATCH] base-system: on musl do not depend on glibc-locales :-) --- srcpkgs/base-system/template | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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";;