diff --git a/srcpkgs/samba/template b/srcpkgs/samba/template index 28cbf44c0b9..e4ccd9f083c 100644 --- a/srcpkgs/samba/template +++ b/srcpkgs/samba/template @@ -27,6 +27,10 @@ hostmakedepends="pkg-config perl python-devel" makedepends="readline-devel libcap-devel popt-devel e2fsprogs-devel mit-krb5-devel libldap-devel pam-devel acl-devel avahi-libs-devel tdb-devel talloc-devel cups-devel" +if [ "$XBPS_TARGET_LIBC" = "musl" ]; then + makedepends+=" musl-legacy-compat" +fi + do_configure() { sed -e 's,XFS_QUOTA_,FS_QUOTA_,g' -i lib/sysquotas_xfs.c