samba: add musl-legacy-compat for libc == musl

This commit is contained in:
Jürgen Buchmüller 2020-08-25 08:47:16 +02:00
parent 2cac21348c
commit a3775a92b9

View File

@ -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